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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008852/0.008852, allocations: 98.41 kB / 15.73 MB, free: 6.055 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.001985/0.001985, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.567/2.567, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 65.95 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2792, allocations: 162.3 MB / 1.242 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0131/0.2924, allocations: 11.09 MB / 1.253 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008732/0.3011, allocations: 5.789 MB / 1.258 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000886/0.302, allocations: 51.69 kB / 1.258 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.3061, allocations: 1.734 MB / 1.26 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.3089, allocations: 1.139 MB / 1.261 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.3108, allocations: 0.8127 MB / 1.262 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.3134, allocations: 2.119 MB / 1.264 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.3151, allocations: 1.307 MB / 1.265 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.3164, allocations: 0.8523 MB / 1.266 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.3178, allocations: 0.9143 MB / 1.267 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002823/0.3181, allocations: 112 kB / 1.267 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.3202, allocations: 1.181 MB / 1.268 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.3208, allocations: 0.5259 MB / 1.269 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.3216, allocations: 0.7888 MB / 1.27 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.3242, allocations: 2.432 MB / 1.272 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3242, allocations: 0 / 1.272 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3242, allocations: 0 / 1.272 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.3243, allocations: 0 / 1.272 GB, free: 9.895 MB / 0.9981 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.002628/0.3269, allocations: 1.939 MB / 1.274 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.327, allocations: 8.031 kB / 1.274 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002166/0.3272, allocations: 207.4 kB / 1.274 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/0.3312, allocations: 0.6748 MB / 1.275 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.3327, allocations: 1.017 MB / 1.276 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.3328, allocations: 90.89 kB / 1.276 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.333, allocations: 124.4 kB / 1.276 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.3358, allocations: 2.21 MB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.3359, allocations: 15.83 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.336, allocations: 59.97 kB / 1.278 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.3362, allocations: 162.3 kB / 1.278 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.3389, allocations: 1.871 MB / 1.28 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.3499, allocations: 12.45 MB / 1.292 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.3539, allocations: 1.964 MB / 1.294 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/0.3547, allocations: 0.6049 MB / 1.295 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.3548, allocations: 106.1 kB / 1.295 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3549, allocations: 51.5 kB / 1.295 GB, free: 1.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=103): time 2.314e-06/0.3549, allocations: 0 / 1.295 GB, free: 1.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.005638/0.3605, allocations: 3.728 MB / 1.299 GB, free: 13.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3606, allocations: 64.41 kB / 1.299 GB, free: 13.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000994/0.3616, allocations: 0.9205 MB / 1.3 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.3617, allocations: 41.7 kB / 1.3 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.3622, allocations: 0.7494 MB / 1.3 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.3625, allocations: 400.6 kB / 1.301 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.3629, allocations: 295.4 kB / 1.301 GB, free: 10.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.363, allocations: 305.1 kB / 1.301 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008788/0.3639, allocations: 0.609 MB / 1.302 GB, free: 9.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.3651, allocations: 1.109 MB / 1.303 GB, free: 8.383 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.3674, allocations: 1.828 MB / 1.305 GB, free: 6.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.3674, allocations: 7.938 kB / 1.305 GB, free: 6.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003202/0.3706, allocations: 2.101 MB / 1.307 GB, free: 4.195 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3707, allocations: 16.03 kB / 1.307 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.3707, allocations: 19.94 kB / 1.307 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007448/0.3714, allocations: 258.6 kB / 1.307 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.3726, allocations: 375.4 kB / 1.307 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008738/0.3813, allocations: 11.59 MB / 1.319 GB, free: 6.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.3825, allocations: 135.8 kB / 1.319 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.3826, allocations: 67.98 kB / 1.319 GB, free: 6.609 MB / 1.045 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.0005904/0.3832, allocations: 409.7 kB / 1.319 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3834, allocations: 135.2 kB / 1.319 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.3861, allocations: 1.669 MB / 1.321 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3861, allocations: 12 kB / 1.321 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3861, allocations: 4 kB / 1.321 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3861, allocations: 7.969 kB / 1.321 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.3907, allocations: 3.295 MB / 1.324 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3907, allocations: 4 kB / 1.324 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.3915, allocations: 223.6 kB / 1.325 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006551/0.3922, allocations: 243.3 kB / 1.325 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.3923, allocations: 35.94 kB / 1.325 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008678/0.4009, allocations: 11.56 MB / 1.336 GB, free: 3.695 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.401, allocations: 11.94 kB / 1.336 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.4037, allocations: 1.808 MB / 1.338 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/0.4042, allocations: 312.1 kB / 1.338 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.4044, allocations: 27.94 kB / 1.338 GB, free: 1.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.405, allocations: 95.86 kB / 1.338 GB, free: 1.324 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.4052, allocations: 100.6 kB / 1.338 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/0.4053, allocations: 39.94 kB / 1.338 GB, free: 1.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007671/0.4061, allocations: 0.6177 MB / 1.339 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4061, allocations: 0 / 1.339 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001209/0.4073, allocations: 392 kB / 1.339 GB, free: 184 kB / 1.061 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.0029/0.4102, allocations: 2.395 MB / 1.342 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003575/0.4138, allocations: 2.497 MB / 1.344 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.4138, allocations: 8 kB / 1.344 GB, free: 11.06 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.4159, allocations: 1.625 MB / 1.346 GB, free: 9.328 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.4174, allocations: 357.8 kB / 1.346 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.4321, allocations: 11.54 MB / 1.357 GB, free: 12.7 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009689/0.4331, allocations: 1.331 MB / 1.359 GB, free: 11.34 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008808/0.434, allocations: 359.3 kB / 1.359 GB, free: 10.98 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/0.4347, allocations: 0.5383 MB / 1.36 GB, free: 10.45 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/0.4347, allocations: 0 / 1.36 GB, free: 10.45 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.081/5.516, allocations: 28.28 MB / 1.387 GB, free: 14.55 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/22.83, allocations: 9.938 kB / 1.387 GB, free: 14.54 MB / 1.123 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=400 --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