Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006556/0.006556, allocations: 102 kB / 15.73 MB, free: 6.039 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.001606/0.001606, allocations: 194 kB / 16.67 MB, free: 5.961 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8489/0.8503, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005952/0.8563, allocations: 4.279 MB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.8605, allocations: 2.38 MB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.861, allocations: 17 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.8623, allocations: 370.9 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.8635, allocations: 374.1 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009784/0.8644, allocations: 316 kB / 1.095 GB, free: 124 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.8656, allocations: 0.6913 MB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.8662, allocations: 257.9 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006056/0.8668, allocations: 250.2 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005324/0.8674, allocations: 280.5 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/0.8675, allocations: 29.25 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.8686, allocations: 433.1 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.8688, allocations: 144.2 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.8691, allocations: 233 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.8705, allocations: 0.7303 MB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8706, allocations: 0 / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8706, allocations: 0 / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.8706, allocations: 1.656 kB / 1.098 GB, free: 14.85 MB / 0.8731 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.001465/0.872, allocations: 0.7919 MB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8721, allocations: 11 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.8722, allocations: 77.53 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.8737, allocations: 180.2 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008663/0.8746, allocations: 445.9 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.8746, allocations: 23.08 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/0.8747, allocations: 41.95 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.8758, allocations: 0.6481 MB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.8758, allocations: 6.469 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.8759, allocations: 14.14 kB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.876, allocations: 53.59 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/0.8769, allocations: 0.494 MB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.8807, allocations: 3.783 MB / 1.104 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.8828, allocations: 0.6315 MB / 1.105 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.8831, allocations: 180.1 kB / 1.105 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.8831, allocations: 2.625 kB / 1.105 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.8832, allocations: 41.84 kB / 1.105 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 3.136e-06/0.8832, allocations: 0 / 1.105 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002546/0.8857, allocations: 1.273 MB / 1.106 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.8858, allocations: 106.2 kB / 1.107 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.8863, allocations: 400.6 kB / 1.107 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.8864, allocations: 39.05 kB / 1.107 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.8866, allocations: 283.8 kB / 1.107 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.8867, allocations: 115.8 kB / 1.107 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.8869, allocations: 99.83 kB / 1.107 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.887, allocations: 355.4 kB / 1.108 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.8873, allocations: 174.1 kB / 1.108 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.8878, allocations: 378.4 kB / 1.108 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.8885, allocations: 0.5919 MB / 1.109 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.8885, allocations: 2.875 kB / 1.109 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001334/0.8899, allocations: 0.6757 MB / 1.11 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.8899, allocations: 13.03 kB / 1.11 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.8899, allocations: 6.375 kB / 1.11 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.8903, allocations: 99.75 kB / 1.11 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.8908, allocations: 113 kB / 1.11 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/0.8943, allocations: 4.352 MB / 1.114 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.8948, allocations: 29.53 kB / 1.114 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.8948, allocations: 24.16 kB / 1.114 GB, free: 2.156 MB / 0.8731 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.0003058/0.8952, allocations: 196.8 kB / 1.114 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.8953, allocations: 48.58 kB / 1.114 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.8964, allocations: 0.5174 MB / 1.115 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.8964, allocations: 5 kB / 1.115 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8964, allocations: 1.5 kB / 1.115 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.8964, allocations: 3.312 kB / 1.115 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.8987, allocations: 1.292 MB / 1.116 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.8987, allocations: 2.719 kB / 1.116 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.899, allocations: 68.81 kB / 1.116 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.8994, allocations: 88.73 kB / 1.116 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.8994, allocations: 9.781 kB / 1.116 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003699/0.9031, allocations: 4.338 MB / 1.12 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9032, allocations: 2.562 kB / 1.12 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.9043, allocations: 0.7772 MB / 1.121 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.9046, allocations: 152.1 kB / 1.121 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.9047, allocations: 10.31 kB / 1.121 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.905, allocations: 20.72 kB / 1.121 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.9051, allocations: 39.27 kB / 1.121 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.9051, allocations: 14.5 kB / 1.121 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003448/0.9055, allocations: 277 kB / 1.122 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.9055, allocations: 0 / 1.122 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008075/0.9063, allocations: 125.6 kB / 1.122 GB, free: 11.73 MB / 0.8887 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.001325/0.9076, allocations: 1.33 MB / 1.123 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.9091, allocations: 0.8017 MB / 1.124 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.9091, allocations: 4.062 kB / 1.124 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007527/0.9098, allocations: 0.5469 MB / 1.124 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.9109, allocations: 132.8 kB / 1.125 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/0.9174, allocations: 4.552 MB / 1.129 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.918, allocations: 0.86 MB / 1.13 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004212/0.9185, allocations: 105.7 kB / 1.13 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.9187, allocations: 152.9 kB / 1.13 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of SimCode: time 8.12e-07/0.9187, allocations: 0 / 1.13 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.9661, allocations: 10.19 MB / 1.14 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.59, allocations: 11.11 kB / 1.14 GB, free: 4.836 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches