Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008106/0.0008106, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008169/0.0008169, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8542/0.8542, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.672/1.672, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.949e-05, allocations: 6.219 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008267/0.008287, allocations: 10.51 MB / 0.9912 GB, free: 8.016 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005765/0.01405, allocations: 5.586 MB / 0.9967 GB, free: 2.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.01454, allocations: 75.31 kB / 0.9967 GB, free: 2.336 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.01638, allocations: 1.731 MB / 0.9984 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.01801, allocations: 1.22 MB / 0.9996 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.01929, allocations: 0.817 MB / 1 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.02062, allocations: 2.177 MB / 1.003 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007389/0.02136, allocations: 1.026 MB / 1.004 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007867/0.02215, allocations: 1.216 MB / 1.005 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006019/0.02275, allocations: 0.8179 MB / 1.006 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.602e-05/0.02284, allocations: 116 kB / 1.006 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009148/0.02376, allocations: 1.075 MB / 1.007 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.02406, allocations: 0.5686 MB / 1.007 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.02452, allocations: 0.5338 MB / 1.008 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.02601, allocations: 2.476 MB / 1.01 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.02601, allocations: 0 / 1.01 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.02601, allocations: 4 kB / 1.01 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.02602, allocations: 4 kB / 1.01 GB, free: 4.488 MB / 0.9636 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.001592/0.02762, allocations: 1.828 MB / 1.012 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.02765, allocations: 11.97 kB / 1.012 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.02781, allocations: 215.4 kB / 1.012 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.02998, allocations: 0.6903 MB / 1.013 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009863/0.03096, allocations: 0.9128 MB / 1.014 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.03101, allocations: 98.89 kB / 1.014 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.03114, allocations: 124.3 kB / 1.014 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.03314, allocations: 2.412 MB / 1.016 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.03317, allocations: 12.12 kB / 1.016 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-05/0.03325, allocations: 64.09 kB / 1.016 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.03338, allocations: 166.3 kB / 1.017 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.03517, allocations: 1.855 MB / 1.018 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005864/0.04103, allocations: 9.389 MB / 1.028 GB, free: 2.059 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.04332, allocations: 1.863 MB / 1.029 GB, free: 196 kB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.04384, allocations: 0.5542 MB / 1.03 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.04392, allocations: 20.98 kB / 1.03 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.04394, allocations: 47.5 kB / 1.03 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=103): time 2.435e-06/0.04394, allocations: 0 / 1.03 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=110): time 0.003291/0.04723, allocations: 3.114 MB / 1.033 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.04726, allocations: 64.41 kB / 1.033 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.04794, allocations: 0.9591 MB / 1.034 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.04798, allocations: 45.7 kB / 1.034 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.04829, allocations: 0.7455 MB / 1.035 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.04848, allocations: 400.6 kB / 1.035 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.04879, allocations: 287.4 kB / 1.035 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.04885, allocations: 305.1 kB / 1.036 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.04944, allocations: 0.6168 MB / 1.036 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/0.05022, allocations: 1.102 MB / 1.037 GB, free: 7.648 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.05165, allocations: 1.832 MB / 1.039 GB, free: 5.602 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.05166, allocations: 8 kB / 1.039 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001987/0.05365, allocations: 2.1 MB / 1.041 GB, free: 3.461 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.05367, allocations: 12 kB / 1.041 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.05368, allocations: 16 kB / 1.041 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.05411, allocations: 263.4 kB / 1.042 GB, free: 3.152 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.05474, allocations: 371.4 kB / 1.042 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4164/0.4711, allocations: 10.72 MB / 1.052 GB, free: 91.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000893/0.472, allocations: 123.7 kB / 1.052 GB, free: 91.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/0.4721, allocations: 69.94 kB / 1.053 GB, free: 91.7 MB / 0.9948 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.0004728/0.4726, allocations: 410.5 kB / 1.053 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.4727, allocations: 135.5 kB / 1.053 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.4742, allocations: 1.685 MB / 1.055 GB, free: 90.95 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4742, allocations: 13.83 kB / 1.055 GB, free: 90.95 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4742, allocations: 2.875 kB / 1.055 GB, free: 90.95 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.4742, allocations: 9.797 kB / 1.055 GB, free: 90.95 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.4768, allocations: 3.111 MB / 1.058 GB, free: 89.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4768, allocations: 6.219 kB / 1.058 GB, free: 89.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.4772, allocations: 224.1 kB / 1.058 GB, free: 89.58 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003345/0.4775, allocations: 241.8 kB / 1.058 GB, free: 89.48 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.4776, allocations: 26.88 kB / 1.058 GB, free: 89.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.4805, allocations: 10.71 MB / 1.069 GB, free: 79.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4805, allocations: 9.844 kB / 1.069 GB, free: 79.22 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.4818, allocations: 1.789 MB / 1.07 GB, free: 78.37 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.4821, allocations: 232.6 kB / 1.071 GB, free: 78.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.4821, allocations: 30.17 kB / 1.071 GB, free: 78.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.4825, allocations: 88.22 kB / 1.071 GB, free: 78.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4826, allocations: 108.7 kB / 1.071 GB, free: 78.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.4826, allocations: 39 kB / 1.071 GB, free: 78.19 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000423/0.483, allocations: 0.6171 MB / 1.072 GB, free: 77.94 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.483, allocations: 3.938 kB / 1.072 GB, free: 77.93 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008187/0.4839, allocations: 397.1 kB / 1.072 GB, free: 77.89 MB / 0.9948 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.001534/0.4854, allocations: 2.376 MB / 1.074 GB, free: 76.43 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.4871, allocations: 2.4 MB / 1.077 GB, free: 75.09 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4871, allocations: 0 / 1.077 GB, free: 75.09 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.488, allocations: 1.578 MB / 1.078 GB, free: 74 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000897/0.4889, allocations: 361 kB / 1.078 GB, free: 73.88 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008832/0.4977, allocations: 11.53 MB / 1.09 GB, free: 67.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.4983, allocations: 0.7347 MB / 1.09 GB, free: 67.42 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005941/0.4989, allocations: 361 kB / 1.091 GB, free: 67.37 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.4993, allocations: 0.5335 MB / 1.091 GB, free: 66.96 MB / 0.9948 GB Notification: Performance of SimCode: time 1.122e-06/0.4993, allocations: 3.938 kB / 1.091 GB, free: 66.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/0.5623, allocations: 30.63 MB / 1.121 GB, free: 63.57 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.219, allocations: 6.688 kB / 1.121 GB, free: 63.56 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.17334698047489]