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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001236/0.001236, 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.001244/0.001244, allocations: 194.5 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.247/1.247, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.322/2.322, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5389, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0108/0.5498, allocations: 11.05 MB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007813/0.5576, allocations: 5.773 MB / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5587, allocations: 47.69 kB / 1.033 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003842/0.5625, allocations: 1.615 MB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.5653, allocations: 1.062 MB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.5672, allocations: 0.737 MB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.5696, allocations: 2.138 MB / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.5715, allocations: 1.483 MB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.5728, allocations: 0.86 MB / 1.041 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.574, allocations: 0.9417 MB / 1.042 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002947/0.5743, allocations: 116 kB / 1.042 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.5765, allocations: 1.181 MB / 1.043 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006163/0.5771, allocations: 0.5259 MB / 1.044 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.5781, allocations: 0.781 MB / 1.045 GB, free: 6.266 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.5811, allocations: 2.488 MB / 1.047 GB, free: 3.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.5811, allocations: 0 / 1.047 GB, free: 3.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5811, allocations: 4 kB / 1.047 GB, free: 3.766 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.513e-05/0.5812, allocations: 3.938 kB / 1.047 GB, free: 3.762 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.003017/0.5842, allocations: 1.867 MB / 1.049 GB, free: 1.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5843, allocations: 12.03 kB / 1.049 GB, free: 1.824 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003011/0.5846, allocations: 215.4 kB / 1.049 GB, free: 1.602 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/0.5887, allocations: 0.6621 MB / 1.05 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.5901, allocations: 0.9146 MB / 1.051 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.5902, allocations: 94.89 kB / 1.051 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.5904, allocations: 128.3 kB / 1.051 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.5933, allocations: 2.214 MB / 1.053 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.5934, allocations: 11.84 kB / 1.053 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.5935, allocations: 55.98 kB / 1.053 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.5937, allocations: 162.3 kB / 1.053 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.5964, allocations: 1.871 MB / 1.055 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009919/0.6063, allocations: 12.48 MB / 1.067 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.6101, allocations: 1.953 MB / 1.069 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000713/0.6109, allocations: 0.6049 MB / 1.07 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.611, allocations: 102.1 kB / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6111, allocations: 43.5 kB / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 2.965e-06/0.6111, allocations: 0 / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.005251/0.6163, allocations: 3.706 MB / 1.073 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.6164, allocations: 72.34 kB / 1.074 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.6173, allocations: 0.9204 MB / 1.074 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.6174, allocations: 45.7 kB / 1.074 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.6178, allocations: 0.7275 MB / 1.075 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.618, allocations: 386.5 kB / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.6184, allocations: 287.2 kB / 1.076 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.6185, allocations: 301.1 kB / 1.076 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000807/0.6193, allocations: 0.6129 MB / 1.077 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.6203, allocations: 1.113 MB / 1.078 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.6223, allocations: 1.832 MB / 1.08 GB, free: 408 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.6223, allocations: 4 kB / 1.08 GB, free: 404 kB / 0.8262 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002901/0.6252, allocations: 2.1 MB / 1.082 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.6252, allocations: 12 kB / 1.082 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.6253, allocations: 16 kB / 1.082 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/0.626, allocations: 263.2 kB / 1.082 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.6271, allocations: 371.4 kB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/0.6342, allocations: 11.58 MB / 1.094 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.6352, allocations: 131.9 kB / 1.094 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.6353, allocations: 71.98 kB / 1.094 GB, free: 0.6914 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.0005336/0.6359, allocations: 405.2 kB / 1.094 GB, free: 292 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.6361, allocations: 138.4 kB / 1.094 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.6386, allocations: 1.678 MB / 1.096 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.6386, allocations: 19.92 kB / 1.096 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6386, allocations: 4 kB / 1.096 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.6386, allocations: 3.984 kB / 1.096 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/0.643, allocations: 3.298 MB / 1.099 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.643, allocations: 4 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.6438, allocations: 223.7 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006428/0.6444, allocations: 246.6 kB / 1.1 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/0.6445, allocations: 27.94 kB / 1.1 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006951/0.6515, allocations: 11.57 MB / 1.111 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6515, allocations: 4 kB / 1.111 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.6537, allocations: 1.803 MB / 1.113 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.6542, allocations: 315.3 kB / 1.113 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.6544, allocations: 28 kB / 1.113 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.6551, allocations: 91.86 kB / 1.113 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.6553, allocations: 96.72 kB / 1.113 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.6554, allocations: 35.98 kB / 1.113 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006897/0.6561, allocations: 0.6216 MB / 1.114 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6561, allocations: 0 / 1.114 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001229/0.6573, allocations: 392 kB / 1.114 GB, free: 10.27 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.00254/0.6599, allocations: 2.404 MB / 1.117 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003742/0.6636, allocations: 2.875 MB / 1.119 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.6636, allocations: 0 / 1.119 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.6654, allocations: 1.63 MB / 1.121 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.6669, allocations: 358 kB / 1.121 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.6816, allocations: 12.6 MB / 1.134 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008537/0.6824, allocations: 1.327 MB / 1.135 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009389/0.6834, allocations: 355.3 kB / 1.135 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/0.684, allocations: 0.5383 MB / 1.136 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of SimCode: time 7.31e-07/0.684, allocations: 4 kB / 1.136 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5294/1.213, allocations: 27.84 MB / 1.163 GB, free: 7.457 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/1.214, allocations: 248.6 kB / 1.163 GB, free: 7.203 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/3.608, allocations: 0 / 1.163 GB, free: 7.203 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