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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 113.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 489.2 MB / 0.7687 GB, free: 3.848 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01389/1.117, allocations: 11.12 MB / 1.273 GB, free: 500 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01164/1.128, allocations: 5.787 MB / 1.279 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/1.13, allocations: 49.19 kB / 1.279 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00504/1.136, allocations: 1.718 MB / 1.281 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004838/1.14, allocations: 1.149 MB / 1.282 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/1.143, allocations: 0.8105 MB / 1.283 GB, free: 10.44 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00418/1.148, allocations: 2.121 MB / 1.285 GB, free: 9.469 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/1.15, allocations: 1.304 MB / 1.286 GB, free: 8.906 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/1.152, allocations: 0.849 MB / 1.287 GB, free: 8.531 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/1.153, allocations: 0.9159 MB / 1.288 GB, free: 8.121 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002371/1.153, allocations: 114.3 kB / 1.288 GB, free: 8.121 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/1.157, allocations: 1.174 MB / 1.289 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008003/1.157, allocations: 0.5231 MB / 1.29 GB, free: 7.488 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/1.158, allocations: 0.7902 MB / 1.29 GB, free: 7.004 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005535/1.164, allocations: 2.432 MB / 1.293 GB, free: 6.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/1.164, allocations: 0 / 1.293 GB, free: 6.16 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.375e-06/1.164, allocations: 0 / 1.293 GB, free: 6.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.419e-05/1.164, allocations: 0 / 1.293 GB, free: 6.16 MB / 1.014 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.004568/1.169, allocations: 1.926 MB / 1.295 GB, free: 4.883 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.169, allocations: 8.656 kB / 1.295 GB, free: 4.883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/1.174, allocations: 0.6796 MB / 1.295 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/1.176, allocations: 1.01 MB / 1.296 GB, free: 4.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/1.176, allocations: 93.83 kB / 1.296 GB, free: 4.137 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/1.176, allocations: 130.5 kB / 1.296 GB, free: 4.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/1.18, allocations: 2.209 MB / 1.299 GB, free: 2.855 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-05/1.18, allocations: 17.8 kB / 1.299 GB, free: 2.844 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/1.181, allocations: 61.12 kB / 1.299 GB, free: 2.801 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002747/1.181, allocations: 162.1 kB / 1.299 GB, free: 2.781 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/1.184, allocations: 1.865 MB / 1.301 GB, free: 2.133 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/1.199, allocations: 12.46 MB / 1.313 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/1.204, allocations: 1.973 MB / 1.315 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/1.205, allocations: 0.6048 MB / 1.315 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/1.205, allocations: 101.5 kB / 1.315 GB, free: 6.734 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/1.205, allocations: 43.45 kB / 1.315 GB, free: 6.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 4.329e-06/1.206, allocations: 1.438 kB / 1.315 GB, free: 6.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.007499/1.213, allocations: 3.733 MB / 1.319 GB, free: 4.719 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/1.213, allocations: 66.5 kB / 1.319 GB, free: 4.648 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/1.215, allocations: 0.9203 MB / 1.32 GB, free: 4.266 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/1.215, allocations: 46.11 kB / 1.32 GB, free: 4.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/1.215, allocations: 0.7446 MB / 1.321 GB, free: 3.621 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/1.216, allocations: 405.8 kB / 1.321 GB, free: 3.305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/1.216, allocations: 285.1 kB / 1.322 GB, free: 3.172 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.216, allocations: 303.1 kB / 1.322 GB, free: 2.875 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.218, allocations: 0.6125 MB / 1.322 GB, free: 2.672 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/1.219, allocations: 1.115 MB / 1.324 GB, free: 1.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/1.222, allocations: 1.83 MB / 1.325 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/1.222, allocations: 8.156 kB / 1.325 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004285/1.226, allocations: 2.108 MB / 1.327 GB, free: 15.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/1.226, allocations: 10.97 kB / 1.327 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/1.226, allocations: 16.94 kB / 1.327 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000905/1.227, allocations: 263.3 kB / 1.328 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.229, allocations: 378 kB / 1.328 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/1.239, allocations: 11.59 MB / 1.339 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.241, allocations: 123.8 kB / 1.339 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.241, allocations: 79.03 kB / 1.34 GB, free: 4.156 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.0009873/1.242, allocations: 402.1 kB / 1.34 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/1.242, allocations: 136.4 kB / 1.34 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/1.245, allocations: 1.679 MB / 1.342 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/1.245, allocations: 12.33 kB / 1.342 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.245, allocations: 3.25 kB / 1.342 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/1.245, allocations: 9.469 kB / 1.342 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006315/1.252, allocations: 3.299 MB / 1.345 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.252, allocations: 4.656 kB / 1.345 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009181/1.253, allocations: 223.4 kB / 1.345 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007934/1.254, allocations: 239.2 kB / 1.345 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.572e-05/1.254, allocations: 31.81 kB / 1.345 GB, free: 1.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.264, allocations: 11.56 MB / 1.357 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.264, allocations: 9.406 kB / 1.357 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/1.267, allocations: 1.804 MB / 1.358 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007801/1.268, allocations: 313.5 kB / 1.359 GB, free: 4.965 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.268, allocations: 28.17 kB / 1.359 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/1.269, allocations: 92.09 kB / 1.359 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/1.269, allocations: 101.3 kB / 1.359 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/1.269, allocations: 35.53 kB / 1.359 GB, free: 4.895 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001006/1.27, allocations: 0.6209 MB / 1.36 GB, free: 4.637 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.1e-07/1.27, allocations: 0 / 1.36 GB, free: 4.637 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00182/1.272, allocations: 393.8 kB / 1.36 GB, free: 4.594 MB / 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.0002861/1.272, allocations: 143.1 kB / 1.36 GB, free: 4.473 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004105/1.277, allocations: 2.503 MB / 1.363 GB, free: 2.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.277, allocations: 1.438 kB / 1.363 GB, free: 2.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/1.279, allocations: 1.634 MB / 1.364 GB, free: 1.594 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/1.281, allocations: 356.3 kB / 1.364 GB, free: 1.406 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/1.287, allocations: 2.891 MB / 1.367 GB, free: 15.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.288, allocations: 1.331 MB / 1.369 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/1.288, allocations: 116 kB / 1.369 GB, free: 14.57 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/1.288, allocations: 3.938 kB / 1.369 GB, free: 14.57 MB / 1.076 GB Notification: Performance of Templates: time 0.0755/1.364, allocations: 59.31 MB / 1.427 GB, free: 11.73 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.497698636027053]