Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001467, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.00175/0.00175, allocations: 187 kB / 17.34 MB, free: 5.73 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 59.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9524/0.954, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007118/0.9611, allocations: 4.288 MB / 1.213 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004555/0.9657, allocations: 2.369 MB / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.9663, allocations: 19.88 kB / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.9678, allocations: 378.2 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.9691, allocations: 362.2 kB / 1.216 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.9701, allocations: 331.2 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.9713, allocations: 0.6788 MB / 1.217 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.9719, allocations: 258 kB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005737/0.9725, allocations: 262.9 kB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.9731, allocations: 258.9 kB / 1.217 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.9732, allocations: 32 kB / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009672/0.9741, allocations: 431 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.9744, allocations: 143.5 kB / 1.218 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000368/0.9748, allocations: 234.7 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.9762, allocations: 0.7375 MB / 1.219 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9762, allocations: 0 / 1.219 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9762, allocations: 4 kB / 1.219 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.395e-05/0.9762, allocations: 0 / 1.219 GB, free: 2.859 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001785/0.978, allocations: 0.787 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.9781, allocations: 8.031 kB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.9796, allocations: 188.1 kB / 1.22 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.9805, allocations: 440.5 kB / 1.22 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.9806, allocations: 29.3 kB / 1.22 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.9807, allocations: 40.36 kB / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.9818, allocations: 0.6432 MB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.9818, allocations: 7.938 kB / 1.221 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.9819, allocations: 15.98 kB / 1.221 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.772e-05/0.982, allocations: 55.97 kB / 1.221 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008353/0.9828, allocations: 0.4915 MB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.9868, allocations: 3.771 MB / 1.225 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.9886, allocations: 0.6283 MB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.9888, allocations: 182.5 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.9889, allocations: 4 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.9889, allocations: 42.5 kB / 1.226 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.9889, allocations: 0 / 1.226 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002511/0.9914, allocations: 1.276 MB / 1.227 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.9915, allocations: 110.8 kB / 1.227 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.9921, allocations: 401.8 kB / 1.228 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.9921, allocations: 29.7 kB / 1.228 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.9923, allocations: 283.4 kB / 1.228 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.9925, allocations: 122.2 kB / 1.228 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.9926, allocations: 102.1 kB / 1.228 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.9928, allocations: 350.8 kB / 1.229 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.9931, allocations: 177 kB / 1.229 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.9936, allocations: 379.3 kB / 1.229 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.9944, allocations: 0.5874 MB / 1.23 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.9944, allocations: 7.938 kB / 1.23 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001183/0.9956, allocations: 0.6709 MB / 1.23 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.9956, allocations: 8 kB / 1.23 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.9956, allocations: 8 kB / 1.23 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004075/0.996, allocations: 103.1 kB / 1.23 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.9965, allocations: 117.2 kB / 1.231 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/1.001, allocations: 4.336 MB / 1.235 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/1.001, allocations: 35.91 kB / 1.235 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/1.001, allocations: 24 kB / 1.235 GB, free: 1.219 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003191/1.001, allocations: 199.2 kB / 1.235 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.001, allocations: 51.42 kB / 1.235 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/1.002, allocations: 0.5186 MB / 1.236 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.002, allocations: 4 kB / 1.236 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.002, allocations: 0 / 1.236 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/1.003, allocations: 3.984 kB / 1.236 GB, free: 428 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/1.005, allocations: 1.299 MB / 1.237 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.005, allocations: 4 kB / 1.237 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/1.005, allocations: 59.89 kB / 1.237 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002965/1.005, allocations: 90.5 kB / 1.237 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/1.005, allocations: 12 kB / 1.237 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004121/1.009, allocations: 4.337 MB / 1.241 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.009, allocations: 4 kB / 1.241 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/1.01, allocations: 0.7748 MB / 1.242 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/1.011, allocations: 152.5 kB / 1.242 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/1.011, allocations: 16 kB / 1.242 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/1.011, allocations: 23.97 kB / 1.242 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/1.011, allocations: 35.84 kB / 1.242 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/1.011, allocations: 12 kB / 1.242 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003627/1.012, allocations: 279.1 kB / 1.243 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/1.012, allocations: 0 / 1.243 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008532/1.013, allocations: 132 kB / 1.243 GB, free: 8.605 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/1.013, allocations: 103.2 kB / 1.243 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001525/1.014, allocations: 0.8053 MB / 1.244 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.014, allocations: 0 / 1.244 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007937/1.015, allocations: 0.556 MB / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/1.016, allocations: 134.2 kB / 1.244 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/1.018, allocations: 0.9513 MB / 1.245 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/1.019, allocations: 0.8624 MB / 1.246 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/1.019, allocations: 39.42 kB / 1.246 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/1.019, allocations: 0 / 1.246 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of Templates: time 0.01693/1.036, allocations: 11.13 MB / 1.257 GB, free: 9.871 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches