Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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.001239/0.001239, 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.001311/0.001311, allocations: 198.1 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 61.14 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2484, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01151/0.2599, allocations: 11.06 MB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007918/0.2678, allocations: 5.859 MB / 1.069 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008525/0.2687, allocations: 43.69 kB / 1.069 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.2723, allocations: 1.618 MB / 1.07 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.2746, allocations: 1.07 MB / 1.071 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.2762, allocations: 0.7403 MB / 1.072 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.2787, allocations: 2.844 MB / 1.075 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.2804, allocations: 1.324 MB / 1.076 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.2816, allocations: 0.7546 MB / 1.077 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.2828, allocations: 0.9299 MB / 1.078 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.283, allocations: 84 kB / 1.078 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.2854, allocations: 1.462 MB / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006254/0.2861, allocations: 0.4907 MB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.2872, allocations: 0.7536 MB / 1.081 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.29, allocations: 2.449 MB / 1.083 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.29, allocations: 3.984 kB / 1.083 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.41e-07/0.29, allocations: 0 / 1.083 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.29, allocations: 0 / 1.083 GB, free: 8.621 MB / 0.8419 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.002504/0.2925, allocations: 1.86 MB / 1.085 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2926, allocations: 23.91 kB / 1.085 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.2928, allocations: 211.4 kB / 1.085 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/0.2968, allocations: 0.666 MB / 1.086 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.298, allocations: 0.9146 MB / 1.087 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/0.2981, allocations: 94.89 kB / 1.087 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.2982, allocations: 128.2 kB / 1.087 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.3008, allocations: 2.21 MB / 1.089 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.3009, allocations: 11.88 kB / 1.089 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.301, allocations: 63.97 kB / 1.089 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.3012, allocations: 162.3 kB / 1.089 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.3036, allocations: 1.867 MB / 1.091 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009361/0.313, allocations: 12.46 MB / 1.103 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/0.3169, allocations: 1.968 MB / 1.105 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007184/0.3177, allocations: 0.605 MB / 1.106 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.3178, allocations: 106.1 kB / 1.106 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.3179, allocations: 43.5 kB / 1.106 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 2.375e-06/0.3179, allocations: 0 / 1.106 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.005162/0.323, allocations: 3.706 MB / 1.109 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3231, allocations: 64.41 kB / 1.109 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/0.324, allocations: 0.9243 MB / 1.11 GB, free: 11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.324, allocations: 45.7 kB / 1.11 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.3244, allocations: 0.7275 MB / 1.111 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.3247, allocations: 386.5 kB / 1.111 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.325, allocations: 287.2 kB / 1.112 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.3251, allocations: 301.1 kB / 1.112 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/0.3259, allocations: 0.6129 MB / 1.113 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.3269, allocations: 1.117 MB / 1.114 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.3289, allocations: 1.828 MB / 1.116 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3289, allocations: 4 kB / 1.116 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002864/0.3318, allocations: 2.103 MB / 1.118 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3318, allocations: 13.41 kB / 1.118 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3318, allocations: 16 kB / 1.118 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/0.3326, allocations: 259.2 kB / 1.118 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.3337, allocations: 371.4 kB / 1.118 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007252/0.341, allocations: 10.76 MB / 1.129 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.3421, allocations: 128.1 kB / 1.129 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3422, allocations: 71.98 kB / 1.129 GB, free: 6.422 MB / 0.8887 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.0005857/0.3428, allocations: 405.1 kB / 1.129 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.343, allocations: 126.5 kB / 1.129 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.3455, allocations: 1.688 MB / 1.131 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3455, allocations: 12 kB / 1.131 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3455, allocations: 3.938 kB / 1.131 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3455, allocations: 7.969 kB / 1.131 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.3499, allocations: 3.287 MB / 1.134 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.3499, allocations: 4.688 kB / 1.134 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.3507, allocations: 223.6 kB / 1.135 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006498/0.3513, allocations: 250.5 kB / 1.135 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/0.3514, allocations: 28 kB / 1.135 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006716/0.3581, allocations: 10.74 MB / 1.145 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.3581, allocations: 8 kB / 1.145 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.3604, allocations: 1.792 MB / 1.147 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.3608, allocations: 311.4 kB / 1.147 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.361, allocations: 27.98 kB / 1.147 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/0.3616, allocations: 95.81 kB / 1.147 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.3618, allocations: 96.7 kB / 1.148 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-05/0.3618, allocations: 36 kB / 1.148 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006504/0.3625, allocations: 0.6138 MB / 1.148 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3625, allocations: 8 kB / 1.148 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001191/0.3637, allocations: 396 kB / 1.149 GB, free: 0.8828 MB / 0.9044 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.002531/0.3662, allocations: 2.386 MB / 1.151 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.3692, allocations: 2.485 MB / 1.153 GB, free: 11.79 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3692, allocations: 0 / 1.153 GB, free: 11.79 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.3709, allocations: 1.626 MB / 1.155 GB, free: 10.06 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.3723, allocations: 344 kB / 1.155 GB, free: 9.723 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.387, allocations: 12.59 MB / 1.168 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008177/0.3879, allocations: 1.331 MB / 1.169 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009578/0.3888, allocations: 359.3 kB / 1.169 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/0.3895, allocations: 0.5344 MB / 1.17 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.3895, allocations: 0 / 1.17 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2958/0.6854, allocations: 27.09 MB / 1.196 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/0.6857, allocations: 250.6 kB / 1.196 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.317, allocations: 0 / 1.196 GB, free: 14.96 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches