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.00741/0.007409, allocations: 104 kB / 15.73 MB, free: 6.043 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.00186/0.00186, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.209/2.209, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.73, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005462/0.7355, allocations: 4.282 MB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.739, allocations: 2.364 MB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.7393, allocations: 21.62 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.7405, allocations: 375 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008304/0.7414, allocations: 373.6 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.7422, allocations: 320.5 kB / 1.095 GB, free: 108 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008548/0.743, allocations: 0.6842 MB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.7435, allocations: 261.9 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.7439, allocations: 254.8 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.7443, allocations: 268.6 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.7444, allocations: 28.97 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008727/0.7453, allocations: 425.7 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.7455, allocations: 148.1 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.7458, allocations: 237.6 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.7468, allocations: 0.7331 MB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7468, allocations: 0.7188 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7468, allocations: 0 / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.7468, allocations: 0.625 kB / 1.098 GB, free: 14.84 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.001223/0.7481, allocations: 0.7819 MB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7481, allocations: 13.81 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.7482, allocations: 78.14 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.7496, allocations: 184 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.7503, allocations: 441.9 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.7503, allocations: 30.98 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.7504, allocations: 34.28 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.7514, allocations: 0.6521 MB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.7515, allocations: 6.594 kB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.7515, allocations: 21.58 kB / 1.1 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.472e-05/0.7516, allocations: 49.83 kB / 1.1 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008581/0.7525, allocations: 0.4921 MB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.756, allocations: 3.78 MB / 1.104 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.7579, allocations: 0.6306 MB / 1.105 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.7582, allocations: 186.6 kB / 1.105 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.7582, allocations: 4.547 kB / 1.105 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.7583, allocations: 32.64 kB / 1.105 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.7583, allocations: 5.375 kB / 1.105 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002313/0.7606, allocations: 1.273 MB / 1.106 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.7607, allocations: 106.3 kB / 1.107 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.7611, allocations: 399.2 kB / 1.107 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.7611, allocations: 30.89 kB / 1.107 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.7613, allocations: 288.6 kB / 1.107 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.7614, allocations: 127.3 kB / 1.107 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.7616, allocations: 95.7 kB / 1.107 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.7617, allocations: 353.9 kB / 1.108 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.762, allocations: 175.3 kB / 1.108 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.7624, allocations: 377.1 kB / 1.108 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.7631, allocations: 0.5971 MB / 1.109 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7631, allocations: 1.938 kB / 1.109 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001106/0.7642, allocations: 0.6769 MB / 1.11 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.7643, allocations: 14.84 kB / 1.11 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.7643, allocations: 6.812 kB / 1.11 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.7647, allocations: 98.97 kB / 1.11 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.7651, allocations: 112.3 kB / 1.11 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.7685, allocations: 4.34 MB / 1.114 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.7691, allocations: 33.47 kB / 1.114 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.7691, allocations: 28.78 kB / 1.114 GB, free: 2.148 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.0003145/0.7694, allocations: 196.3 kB / 1.114 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.7696, allocations: 46.38 kB / 1.114 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009764/0.7705, allocations: 0.5147 MB / 1.115 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.7706, allocations: 7 kB / 1.115 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.7706, allocations: 3.531 kB / 1.115 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.7706, allocations: 1.781 kB / 1.115 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.7726, allocations: 1.288 MB / 1.116 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.7726, allocations: 7.688 kB / 1.116 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.7729, allocations: 64.84 kB / 1.116 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003356/0.7732, allocations: 92.39 kB / 1.116 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.7733, allocations: 9.125 kB / 1.116 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/0.7766, allocations: 4.335 MB / 1.12 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.7766, allocations: 6.75 kB / 1.12 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.7776, allocations: 0.7728 MB / 1.121 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.7778, allocations: 151.8 kB / 1.121 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.7779, allocations: 9.875 kB / 1.121 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.7782, allocations: 21.38 kB / 1.121 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.7783, allocations: 42.97 kB / 1.121 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.7783, allocations: 10.34 kB / 1.121 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003239/0.7787, allocations: 280.6 kB / 1.122 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7787, allocations: 1.188 kB / 1.122 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007364/0.7794, allocations: 120.2 kB / 1.122 GB, free: 11.72 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.001181/0.7806, allocations: 1.335 MB / 1.123 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.7819, allocations: 0.8019 MB / 1.124 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7819, allocations: 2.406 kB / 1.124 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.7826, allocations: 0.5446 MB / 1.124 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.7836, allocations: 136.7 kB / 1.125 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.7893, allocations: 4.554 MB / 1.129 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.7897, allocations: 0.862 MB / 1.13 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003003/0.7901, allocations: 99.77 kB / 1.13 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.7903, allocations: 157.5 kB / 1.13 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/0.7903, allocations: 0 / 1.13 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.8306, allocations: 10.02 MB / 1.14 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.859/10.69, allocations: 7.375 kB / 1.14 GB, free: 4.848 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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