Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_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.0009078/0.0009079, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005612/0.005613, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.287/2.287, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 8 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5268, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0101/0.5369, allocations: 10.54 MB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007358/0.5443, allocations: 5.778 MB / 1.039 GB, free: 15.47 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007335/0.5451, allocations: 43.62 kB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.5457, allocations: 242 kB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.5479, allocations: 1.066 MB / 1.04 GB, free: 14.12 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.5495, allocations: 0.7406 MB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.5519, allocations: 2.864 MB / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/0.5553, allocations: 2.339 MB / 1.046 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007354/0.556, allocations: 0.696 MB / 1.047 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008226/0.5568, allocations: 0.8557 MB / 1.048 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.5569, allocations: 56 kB / 1.048 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.5588, allocations: 1.435 MB / 1.049 GB, free: 5.074 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.5592, allocations: 474.5 kB / 1.05 GB, free: 4.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.5597, allocations: 0.7319 MB / 1.05 GB, free: 3.867 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.5616, allocations: 2.412 MB / 1.053 GB, free: 1.449 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5616, allocations: 3.984 kB / 1.053 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5616, allocations: 0 / 1.053 GB, free: 1.445 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.5616, allocations: 0 / 1.053 GB, free: 1.445 MB / 0.795 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.001967/0.5636, allocations: 1.607 MB / 1.054 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5637, allocations: 12.03 kB / 1.054 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.5639, allocations: 207.4 kB / 1.054 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003954/0.5678, allocations: 0.6661 MB / 1.055 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5689, allocations: 0.9145 MB / 1.056 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.569, allocations: 98.89 kB / 1.056 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.5692, allocations: 132.2 kB / 1.056 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.5717, allocations: 2.206 MB / 1.058 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.5717, allocations: 11.88 kB / 1.058 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.5719, allocations: 63.97 kB / 1.058 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.572, allocations: 166.3 kB / 1.059 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.5745, allocations: 1.863 MB / 1.06 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009184/0.5837, allocations: 12.48 MB / 1.073 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/0.5875, allocations: 1.968 MB / 1.075 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/0.5883, allocations: 0.6049 MB / 1.075 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.5884, allocations: 98.09 kB / 1.075 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5884, allocations: 47.5 kB / 1.075 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 1.874e-06/0.5884, allocations: 4 kB / 1.075 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.005133/0.5936, allocations: 3.714 MB / 1.079 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5936, allocations: 64.41 kB / 1.079 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008904/0.5945, allocations: 0.9204 MB / 1.08 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.5946, allocations: 41.7 kB / 1.08 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.595, allocations: 0.7275 MB / 1.081 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.5952, allocations: 386.5 kB / 1.081 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.5954, allocations: 121.6 kB / 1.081 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.5955, allocations: 305.1 kB / 1.081 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/0.5963, allocations: 0.6129 MB / 1.082 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5974, allocations: 1.109 MB / 1.083 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.5994, allocations: 1.828 MB / 1.085 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5994, allocations: 4 kB / 1.085 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002875/0.6023, allocations: 2.104 MB / 1.087 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6023, allocations: 20.19 kB / 1.087 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.6023, allocations: 16 kB / 1.087 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007081/0.603, allocations: 254.7 kB / 1.087 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.6042, allocations: 371.4 kB / 1.088 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006911/0.6111, allocations: 10.78 MB / 1.098 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/0.6121, allocations: 123.8 kB / 1.098 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/0.6122, allocations: 75.92 kB / 1.098 GB, free: 15.65 MB / 0.8575 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.0005257/0.6127, allocations: 412.3 kB / 1.099 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.6128, allocations: 126.5 kB / 1.099 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.6155, allocations: 1.681 MB / 1.1 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6155, allocations: 8 kB / 1.1 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6155, allocations: 7.938 kB / 1.1 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.6155, allocations: 7.969 kB / 1.1 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004217/0.6197, allocations: 3.299 MB / 1.104 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6197, allocations: 4 kB / 1.104 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/0.6205, allocations: 223.6 kB / 1.104 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006352/0.6212, allocations: 247.1 kB / 1.104 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.6212, allocations: 28 kB / 1.104 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/0.6281, allocations: 10.74 MB / 1.115 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6281, allocations: 11.94 kB / 1.115 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.6303, allocations: 1.792 MB / 1.116 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.6308, allocations: 331.2 kB / 1.117 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6309, allocations: 31.98 kB / 1.117 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.6316, allocations: 87.81 kB / 1.117 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.6317, allocations: 104.7 kB / 1.117 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.6318, allocations: 28 kB / 1.117 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006555/0.6324, allocations: 0.6216 MB / 1.118 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6325, allocations: 0 / 1.118 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001126/0.6336, allocations: 388 kB / 1.118 GB, free: 10.11 MB / 0.8731 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.002548/0.6361, allocations: 2.386 MB / 1.12 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002985/0.6391, allocations: 2.488 MB / 1.123 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6391, allocations: 3.938 kB / 1.123 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.641, allocations: 1.638 MB / 1.124 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.6431, allocations: 337.3 kB / 1.125 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/0.6579, allocations: 12.62 MB / 1.137 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/0.6588, allocations: 1.327 MB / 1.138 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009023/0.6597, allocations: 363.3 kB / 1.139 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/0.6604, allocations: 0.5383 MB / 1.139 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.6604, allocations: 0 / 1.139 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.533/3.193, allocations: 26.73 MB / 1.165 GB, free: 8.777 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/3.194, allocations: 251.5 kB / 1.165 GB, free: 8.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/5.56, allocations: 0 / 1.165 GB, free: 8.52 MB / 0.92 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches