Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 107.1 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 190.3 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.584/2.584, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 72.19 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2998, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004206/0.304, allocations: 2.476 MB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.3067, allocations: 1.566 MB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.3069, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006932/0.3076, allocations: 171.3 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.3081, allocations: 135.5 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.3086, allocations: 167.7 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.3089, allocations: 215.3 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.3093, allocations: 141 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3094, allocations: 87.7 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.3097, allocations: 115.6 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.3097, allocations: 12 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.31, allocations: 211.6 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.3101, allocations: 59.81 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.3102, allocations: 83.59 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.3106, allocations: 227.8 kB / 1.07 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3106, allocations: 0 / 1.07 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.968e-06/0.3106, allocations: 0 / 1.07 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.3106, allocations: 3.938 kB / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000763/0.3114, allocations: 483 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3114, allocations: 12.62 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000756/0.3122, allocations: 84.64 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3125, allocations: 224.1 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3125, allocations: 12.66 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.3126, allocations: 12.38 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.3131, allocations: 299.5 kB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3131, allocations: 0 / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.3131, allocations: 8 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.3132, allocations: 12.23 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.3136, allocations: 232.4 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.3155, allocations: 1.603 MB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.3159, allocations: 323.2 kB / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.316, allocations: 65.67 kB / 1.073 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3161, allocations: 8 kB / 1.073 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3161, allocations: 30.56 kB / 1.073 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3161, allocations: 3.938 kB / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0005525/0.3167, allocations: 248.5 kB / 1.073 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3167, allocations: 77.11 kB / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.317, allocations: 207.5 kB / 1.073 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.317, allocations: 37.7 kB / 1.073 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3171, allocations: 151.8 kB / 1.074 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.3172, allocations: 35.48 kB / 1.074 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/0.3173, allocations: 61.59 kB / 1.074 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3174, allocations: 322.8 kB / 1.074 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.3176, allocations: 80.81 kB / 1.074 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.3178, allocations: 156.8 kB / 1.074 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.3182, allocations: 246.8 kB / 1.074 GB, free: 4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3182, allocations: 0 / 1.074 GB, free: 4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004958/0.3187, allocations: 281.1 kB / 1.075 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3187, allocations: 4 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3187, allocations: 4.125 kB / 1.075 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3187, allocations: 7.938 kB / 1.075 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.319, allocations: 55.91 kB / 1.075 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.319, allocations: 4 kB / 1.075 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.3193, allocations: 32.16 kB / 1.075 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3193, allocations: 8 kB / 1.075 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002104/0.3195, allocations: 168.1 kB / 1.075 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002059/0.3197, allocations: 161 kB / 1.075 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002959/0.32, allocations: 219.8 kB / 1.075 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.32, allocations: 0 / 1.075 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004551/0.3205, allocations: 249.5 kB / 1.076 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.3205, allocations: 12.03 kB / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3205, allocations: 4 kB / 1.076 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.3205, allocations: 4 kB / 1.076 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3207, allocations: 47.91 kB / 1.076 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3208, allocations: 11.88 kB / 1.076 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.321, allocations: 19.98 kB / 1.076 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.321, allocations: 8 kB / 1.076 GB, free: 2.625 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.3211, allocations: 200.2 kB / 1.076 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.3212, allocations: 15.81 kB / 1.076 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3214, allocations: 143 kB / 1.076 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3215, allocations: 3.938 kB / 1.076 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3215, allocations: 0 / 1.076 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.3215, allocations: 7.984 kB / 1.076 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00094/0.3224, allocations: 0.7157 MB / 1.077 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3224, allocations: 4 kB / 1.077 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3225, allocations: 27.97 kB / 1.077 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3226, allocations: 4.344 kB / 1.077 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3226, allocations: 4 kB / 1.077 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3226, allocations: 4 kB / 1.077 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3226, allocations: 7.938 kB / 1.077 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.3229, allocations: 382.4 kB / 1.077 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.323, allocations: 108.9 kB / 1.077 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3231, allocations: 7.938 kB / 1.077 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.3233, allocations: 11.98 kB / 1.077 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3233, allocations: 15.94 kB / 1.077 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3233, allocations: 7.984 kB / 1.077 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001741/0.3235, allocations: 153.1 kB / 1.077 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3235, allocations: 0 / 1.077 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004895/0.324, allocations: 72 kB / 1.078 GB, free: 0.5938 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.3242, allocations: 119.1 kB / 1.078 GB, free: 480 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005146/0.3247, allocations: 277.1 kB / 1.078 GB, free: 204 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3247, allocations: 8 kB / 1.078 GB, free: 196 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.3248, allocations: 55.89 kB / 1.078 GB, free: 140 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.3253, allocations: 34.22 kB / 1.078 GB, free: 108 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4378/0.763, allocations: 0.4958 MB / 1.079 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.7633, allocations: 0.7379 MB / 1.079 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.7634, allocations: 19.94 kB / 1.079 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.7634, allocations: 0.5469 kB / 1.079 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.004892/0.7683, allocations: 2.329 MB / 1.082 GB, free: 21.2 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches