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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001357/0.001357, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.421/2.421, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 55.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6086/0.61, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01263/0.6227, allocations: 11.06 MB / 1.028 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00954/0.6322, allocations: 5.855 MB / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.6339, allocations: 51.62 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004458/0.6384, allocations: 1.61 MB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.6416, allocations: 1.066 MB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.6437, allocations: 0.7411 MB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.6469, allocations: 2.856 MB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.6492, allocations: 1.311 MB / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.6508, allocations: 0.7546 MB / 1.041 GB, free: 9.391 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.6524, allocations: 0.9299 MB / 1.042 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.6527, allocations: 80 kB / 1.042 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.6553, allocations: 1.47 MB / 1.044 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006411/0.656, allocations: 0.4946 MB / 1.044 GB, free: 6.41 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009791/0.657, allocations: 0.7497 MB / 1.045 GB, free: 5.656 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.6601, allocations: 2.453 MB / 1.047 GB, free: 3.195 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.6601, allocations: 3.938 kB / 1.047 GB, free: 3.191 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6601, allocations: 4 kB / 1.047 GB, free: 3.188 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.44e-05/0.6602, allocations: 0 / 1.047 GB, free: 3.188 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.003117/0.6633, allocations: 1.864 MB / 1.049 GB, free: 1.266 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6633, allocations: 12.03 kB / 1.049 GB, free: 1.254 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002538/0.6636, allocations: 211.4 kB / 1.05 GB, free: 1.035 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/0.668, allocations: 0.666 MB / 1.05 GB, free: 376 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.6694, allocations: 0.9185 MB / 1.051 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-05/0.6695, allocations: 94.89 kB / 1.051 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.6697, allocations: 132.2 kB / 1.051 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.6728, allocations: 2.206 MB / 1.053 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.6728, allocations: 15.88 kB / 1.053 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.673, allocations: 63.97 kB / 1.054 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.6732, allocations: 162.3 kB / 1.054 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.676, allocations: 1.863 MB / 1.055 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.6896, allocations: 12.47 MB / 1.068 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/0.6941, allocations: 1.967 MB / 1.07 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008751/0.695, allocations: 0.6011 MB / 1.07 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.6952, allocations: 102.1 kB / 1.07 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.6952, allocations: 51.48 kB / 1.07 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 4.058e-06/0.6952, allocations: 0 / 1.07 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.006404/0.7016, allocations: 3.706 MB / 1.074 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.7017, allocations: 64.41 kB / 1.074 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.703, allocations: 0.9165 MB / 1.075 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.7031, allocations: 45.7 kB / 1.075 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/0.7036, allocations: 0.7352 MB / 1.076 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.7039, allocations: 382.6 kB / 1.076 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.7043, allocations: 283.2 kB / 1.076 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7045, allocations: 309.1 kB / 1.077 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009335/0.7054, allocations: 0.6207 MB / 1.077 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.7067, allocations: 1.106 MB / 1.078 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.7091, allocations: 1.836 MB / 1.08 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.7091, allocations: 4 kB / 1.08 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003775/0.7129, allocations: 2.096 MB / 1.082 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.7129, allocations: 8 kB / 1.082 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.713, allocations: 20.03 kB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/0.7138, allocations: 262.6 kB / 1.082 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.715, allocations: 375.4 kB / 1.083 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.7235, allocations: 10.77 MB / 1.093 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.7247, allocations: 127.8 kB / 1.093 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.7248, allocations: 67.98 kB / 1.093 GB, free: 0.9883 MB / 0.8419 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.0006333/0.7255, allocations: 417.2 kB / 1.094 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.7257, allocations: 126.5 kB / 1.094 GB, free: 456 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.7285, allocations: 1.677 MB / 1.096 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.7285, allocations: 8 kB / 1.096 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7285, allocations: 4 kB / 1.096 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.7285, allocations: 7.969 kB / 1.096 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.7335, allocations: 3.295 MB / 1.099 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.7335, allocations: 8 kB / 1.099 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.7344, allocations: 223.6 kB / 1.099 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/0.7351, allocations: 246.8 kB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.242e-05/0.7352, allocations: 28 kB / 1.099 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007996/0.7432, allocations: 10.73 MB / 1.11 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.7432, allocations: 4 kB / 1.11 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.746, allocations: 1.8 MB / 1.112 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.7466, allocations: 319.3 kB / 1.112 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.7468, allocations: 31.98 kB / 1.112 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.7475, allocations: 95.81 kB / 1.112 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.7478, allocations: 92.77 kB / 1.112 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.7478, allocations: 39.98 kB / 1.112 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009105/0.7488, allocations: 0.6138 MB / 1.113 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.8e-07/0.7488, allocations: 0 / 1.113 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0015/0.7503, allocations: 396 kB / 1.113 GB, free: 11.46 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.003287/0.7536, allocations: 2.386 MB / 1.115 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.7572, allocations: 2.493 MB / 1.118 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7572, allocations: 4.125 kB / 1.118 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.7592, allocations: 1.617 MB / 1.119 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7609, allocations: 338.5 kB / 1.12 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.7785, allocations: 12.6 MB / 1.132 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.7797, allocations: 1.327 MB / 1.133 GB, free: 5.387 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001098/0.7808, allocations: 359.3 kB / 1.134 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007222/0.7816, allocations: 0.5344 MB / 1.134 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of SimCode: time 8.41e-07/0.7816, allocations: 0 / 1.134 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/0.8289, allocations: 27.1 MB / 1.161 GB, free: 9.77 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.8292, allocations: 244.4 kB / 1.161 GB, free: 9.516 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.168, allocations: 0 / 1.161 GB, free: 9.516 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