Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.00144/0.00144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001665/0.001665, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.203/2.203, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 71.88 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.48, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.00936/0.4894, allocations: 11.05 MB / 0.96 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00687/0.4963, allocations: 5.774 MB / 0.9657 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.4968, allocations: 45.66 kB / 0.9657 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.5002, allocations: 1.618 MB / 0.9673 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.5022, allocations: 1.055 MB / 0.9683 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.5037, allocations: 0.7441 MB / 0.969 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002138/0.5059, allocations: 2.124 MB / 0.9711 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.5081, allocations: 1.493 MB / 0.9726 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.5094, allocations: 0.8642 MB / 0.9734 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.5109, allocations: 0.9434 MB / 0.9743 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.5112, allocations: 113.9 kB / 0.9745 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.5131, allocations: 1.174 MB / 0.9756 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.5137, allocations: 0.531 MB / 0.9761 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.5148, allocations: 0.7846 MB / 0.9769 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.5181, allocations: 2.493 MB / 0.9793 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5181, allocations: 4 kB / 0.9793 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5181, allocations: 0 / 0.9793 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.136e-05/0.5181, allocations: 0 / 0.9793 GB, free: 3.137 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003011/0.5211, allocations: 1.866 MB / 0.9811 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5212, allocations: 8.031 kB / 0.9812 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002582/0.5215, allocations: 207.4 kB / 0.9814 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.5258, allocations: 0.6738 MB / 0.982 GB, free: 324 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.5271, allocations: 0.9106 MB / 0.9829 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.5272, allocations: 98.89 kB / 0.983 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.5274, allocations: 128.3 kB / 0.9831 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.5305, allocations: 2.206 MB / 0.9853 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.5305, allocations: 15.84 kB / 0.9853 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.5306, allocations: 59.97 kB / 0.9853 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/0.5309, allocations: 166.2 kB / 0.9855 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.5339, allocations: 1.871 MB / 0.9873 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.5463, allocations: 12.47 MB / 0.9995 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004278/0.5506, allocations: 1.969 MB / 1.001 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.5514, allocations: 0.605 MB / 1.002 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.5516, allocations: 102.1 kB / 1.002 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5516, allocations: 51.5 kB / 1.002 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 2.053e-06/0.5516, allocations: 0 / 1.002 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.005675/0.5573, allocations: 3.702 MB / 1.006 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.5574, allocations: 64.41 kB / 1.006 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/0.5583, allocations: 0.9204 MB / 1.007 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.5584, allocations: 41.7 kB / 1.007 GB, free: 5.48 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.5589, allocations: 0.7315 MB / 1.007 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.5592, allocations: 386.4 kB / 1.008 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.5597, allocations: 291.2 kB / 1.008 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.5598, allocations: 301.1 kB / 1.008 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009351/0.5607, allocations: 0.6129 MB / 1.009 GB, free: 3.152 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.5621, allocations: 1.106 MB / 1.01 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.5644, allocations: 1.832 MB / 1.012 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5644, allocations: 4 kB / 1.012 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003277/0.5677, allocations: 2.1 MB / 1.014 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5678, allocations: 16.03 kB / 1.014 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.5678, allocations: 19.94 kB / 1.014 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007484/0.5685, allocations: 258.6 kB / 1.014 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5697, allocations: 375.4 kB / 1.015 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008728/0.5785, allocations: 11.58 MB / 1.026 GB, free: 260 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008846/0.5794, allocations: 127.8 kB / 1.026 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.5795, allocations: 71.98 kB / 1.026 GB, free: 60 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0004939/0.58, allocations: 409.2 kB / 1.026 GB, free: 15.65 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5802, allocations: 134.4 kB / 1.027 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.5828, allocations: 1.677 MB / 1.028 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.5829, allocations: 12 kB / 1.028 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5829, allocations: 4 kB / 1.028 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5829, allocations: 3.984 kB / 1.028 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.5873, allocations: 3.291 MB / 1.031 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5873, allocations: 8 kB / 1.031 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/0.5881, allocations: 215.6 kB / 1.032 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00063/0.5887, allocations: 259.1 kB / 1.032 GB, free: 9.855 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.5888, allocations: 23.94 kB / 1.032 GB, free: 9.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007525/0.5963, allocations: 11.57 MB / 1.043 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5963, allocations: 8.156 kB / 1.043 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5986, allocations: 1.799 MB / 1.045 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.5991, allocations: 315.2 kB / 1.045 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.5992, allocations: 28 kB / 1.045 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.5998, allocations: 91.86 kB / 1.045 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.6, allocations: 100.7 kB / 1.046 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.6001, allocations: 32 kB / 1.046 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006423/0.6007, allocations: 0.6177 MB / 1.046 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6007, allocations: 0 / 1.046 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001059/0.6018, allocations: 388 kB / 1.047 GB, free: 9.652 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.002573/0.6044, allocations: 2.399 MB / 1.049 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003684/0.6081, allocations: 2.875 MB / 1.052 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6081, allocations: 4 kB / 1.052 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.6099, allocations: 1.622 MB / 1.053 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.6113, allocations: 352.7 kB / 1.054 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.6258, allocations: 12.6 MB / 1.066 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.6266, allocations: 1.327 MB / 1.067 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008921/0.6275, allocations: 363.3 kB / 1.068 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.6282, allocations: 0.5383 MB / 1.068 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.6282, allocations: 0 / 1.068 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.628/2.256, allocations: 27.85 MB / 1.095 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/2.257, allocations: 248 kB / 1.096 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/5.057, allocations: 3.375 kB / 1.096 GB, free: 6.586 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches