Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001285, allocations: 185 kB / 498.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.2 MB / 0.7948 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 103.8 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 8.688 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 142.3 MB / 1.223 GB, free: 89.55 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/0.5396, allocations: 168.6 MB / 1.388 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/0.54, allocations: 99.94 kB / 1.388 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03265/0.5727, allocations: 13.15 MB / 1.4 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5728, allocations: 7.938 kB / 1.4 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.5728, allocations: 4 kB / 1.4 GB, free: 3.309 MB / 0.9011 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.0006509/0.5734, allocations: 471.1 kB / 1.401 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5735, allocations: 12.03 kB / 1.401 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005757/0.5741, allocations: 63.73 kB / 1.401 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5744, allocations: 230.7 kB / 1.401 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5744, allocations: 12 kB / 1.401 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.5744, allocations: 15.98 kB / 1.401 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.5749, allocations: 271.2 kB / 1.402 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5749, allocations: 8 kB / 1.402 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.5749, allocations: 4 kB / 1.402 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.575, allocations: 16.22 kB / 1.402 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.5753, allocations: 208.5 kB / 1.402 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.5772, allocations: 1.584 MB / 1.403 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.5773, allocations: 73.12 kB / 1.403 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5773, allocations: 4 kB / 1.403 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.5774, allocations: 42.45 kB / 1.403 GB, free: 36 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.5774, allocations: 0 / 1.403 GB, free: 36 kB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.6929/1.27, allocations: 211.5 kB / 1.404 GB, free: 172.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.27, allocations: 80.48 kB / 1.404 GB, free: 172.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/1.271, allocations: 210.1 kB / 1.404 GB, free: 172.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/1.271, allocations: 28.39 kB / 1.404 GB, free: 172.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/1.271, allocations: 163.4 kB / 1.404 GB, free: 172 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/1.271, allocations: 25.42 kB / 1.404 GB, free: 172 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/1.271, allocations: 3.906 kB / 1.404 GB, free: 172 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/1.271, allocations: 325.7 kB / 1.404 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/1.271, allocations: 76.14 kB / 1.404 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/1.271, allocations: 161.6 kB / 1.405 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/1.272, allocations: 102.3 kB / 1.405 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.272, allocations: 0.5 kB / 1.405 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004589/1.272, allocations: 277.1 kB / 1.405 GB, free: 171.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000262/1.272, allocations: 1.143 MB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.272, allocations: 2.156 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.272, allocations: 5.438 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/1.273, allocations: 50.95 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.273, allocations: 7.375 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.273, allocations: 26.36 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/1.273, allocations: 15.61 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.273, allocations: 6.688 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003559/1.273, allocations: 209.2 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.273, allocations: 6.938 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/1.273, allocations: 6.844 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/1.274, allocations: 49.12 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.274, allocations: 7.266 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/1.274, allocations: 16.19 kB / 1.406 GB, free: 170.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/1.274, allocations: 12.67 kB / 1.407 GB, free: 170.4 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001527/1.274, allocations: 224 kB / 1.407 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/1.274, allocations: 17.69 kB / 1.407 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/1.274, allocations: 114.2 kB / 1.407 GB, free: 170.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.274, allocations: 2.328 kB / 1.407 GB, free: 170.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.274, allocations: 2.969 kB / 1.407 GB, free: 170.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.274, allocations: 2.953 kB / 1.407 GB, free: 170.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009516/1.275, allocations: 0.6237 MB / 1.407 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.275, allocations: 6.281 kB / 1.407 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/1.275, allocations: 18.78 kB / 1.407 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/1.275, allocations: 8.484 kB / 1.407 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/1.275, allocations: 3.844 kB / 1.407 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/1.275, allocations: 7.078 kB / 1.408 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.275, allocations: 2.5 kB / 1.408 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/1.276, allocations: 410.4 kB / 1.408 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.276, allocations: 112.1 kB / 1.408 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/1.276, allocations: 6.703 kB / 1.408 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/1.276, allocations: 8.875 kB / 1.408 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/1.276, allocations: 7.781 kB / 1.408 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/1.276, allocations: 12.94 kB / 1.408 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002029/1.276, allocations: 167 kB / 1.408 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/1.276, allocations: 0 / 1.408 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005826/1.277, allocations: 84.05 kB / 1.408 GB, free: 169.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002332/1.277, allocations: 123.2 kB / 1.408 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005455/1.278, allocations: 276.8 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.278, allocations: 3.875 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/1.278, allocations: 41.17 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/1.278, allocations: 32.22 kB / 1.409 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009872/1.279, allocations: 465.9 kB / 1.409 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/1.28, allocations: 0.7398 MB / 1.41 GB, free: 168 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002471/1.28, allocations: 77.84 kB / 1.41 GB, free: 168 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/1.28, allocations: 18.84 kB / 1.41 GB, free: 168 MB / 0.9011 GB Notification: Performance of SimCode: time 2.324e-06/1.28, allocations: 0 / 1.41 GB, free: 168 MB / 0.9011 GB Notification: Performance of Templates: time 0.006259/1.286, allocations: 1.527 MB / 1.411 GB, free: 167.9 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches