Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001391/0.001391, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.00142/0.00142, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.465/2.465, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 71.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7225, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005629/0.7281, allocations: 5.756 MB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003291/0.7314, allocations: 2.735 MB / 1.28 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.7317, allocations: 21.78 kB / 1.28 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.7332, allocations: 0.709 MB / 1.28 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.7339, allocations: 425 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.7347, allocations: 413.4 kB / 1.281 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009561/0.7356, allocations: 0.9557 MB / 1.282 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.7361, allocations: 340.1 kB / 1.282 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.7364, allocations: 378.6 kB / 1.283 GB, free: 416 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.7369, allocations: 435.2 kB / 1.283 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.737, allocations: 46.56 kB / 1.283 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.7375, allocations: 369.1 kB / 1.284 GB, free: 116 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.7377, allocations: 257.6 kB / 1.284 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.7381, allocations: 354.6 kB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.7391, allocations: 0.977 MB / 1.285 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7392, allocations: 4 kB / 1.285 GB, free: 15.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7392, allocations: 0 / 1.285 GB, free: 15.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.7392, allocations: 0 / 1.285 GB, free: 15.45 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001478/0.7406, allocations: 0.9891 MB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.7407, allocations: 10.12 kB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.7408, allocations: 107.1 kB / 1.286 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.7421, allocations: 200.2 kB / 1.286 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000795/0.7429, allocations: 0.5307 MB / 1.287 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.7429, allocations: 41.81 kB / 1.287 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.7431, allocations: 56.47 kB / 1.287 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.7442, allocations: 0.8307 MB / 1.288 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.7443, allocations: 7 kB / 1.288 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.7443, allocations: 20.38 kB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/0.7445, allocations: 71.2 kB / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.7454, allocations: 0.5698 MB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/0.7499, allocations: 4.577 MB / 1.293 GB, free: 9.586 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.7503, allocations: 281.6 kB / 1.293 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.7506, allocations: 210.8 kB / 1.293 GB, free: 9.387 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.7506, allocations: 6.031 kB / 1.293 GB, free: 9.387 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.7507, allocations: 39.36 kB / 1.293 GB, free: 9.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.7507, allocations: 0 / 1.293 GB, free: 9.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.005317/0.756, allocations: 2.632 MB / 1.296 GB, free: 7.949 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.756, allocations: 55.45 kB / 1.296 GB, free: 7.887 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.7565, allocations: 467.7 kB / 1.297 GB, free: 7.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.7565, allocations: 29.7 kB / 1.297 GB, free: 7.625 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.7568, allocations: 354.7 kB / 1.297 GB, free: 7.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.7569, allocations: 159.7 kB / 1.297 GB, free: 7.215 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.7571, allocations: 101.1 kB / 1.297 GB, free: 7.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7572, allocations: 364.1 kB / 1.298 GB, free: 6.824 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.7576, allocations: 238.2 kB / 1.298 GB, free: 6.742 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.7582, allocations: 409 kB / 1.298 GB, free: 6.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/0.7591, allocations: 0.6728 MB / 1.299 GB, free: 6.012 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7591, allocations: 2.25 kB / 1.299 GB, free: 6.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001637/0.7607, allocations: 0.9196 MB / 1.3 GB, free: 5.621 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7608, allocations: 7.719 kB / 1.3 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.7608, allocations: 6.828 kB / 1.3 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007648/0.7615, allocations: 230.6 kB / 1.3 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.762, allocations: 109.6 kB / 1.3 GB, free: 5.543 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/0.7675, allocations: 5.34 MB / 1.305 GB, free: 0.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.768, allocations: 35.55 kB / 1.305 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.768, allocations: 30.44 kB / 1.305 GB, free: 0.8516 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.7684, allocations: 221.9 kB / 1.306 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.7685, allocations: 60.91 kB / 1.306 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.7699, allocations: 0.7656 MB / 1.306 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.77, allocations: 6 kB / 1.306 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.77, allocations: 1.531 kB / 1.306 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.77, allocations: 2.578 kB / 1.306 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.7724, allocations: 1.496 MB / 1.308 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.7724, allocations: 10.53 kB / 1.308 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.7727, allocations: 71.56 kB / 1.308 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006457/0.7734, allocations: 203.1 kB / 1.308 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.7734, allocations: 8.219 kB / 1.308 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.7784, allocations: 5.282 MB / 1.313 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7784, allocations: 1.438 kB / 1.313 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.7801, allocations: 1.13 MB / 1.314 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.7803, allocations: 175.9 kB / 1.315 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.7804, allocations: 14.08 kB / 1.315 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.7807, allocations: 23.72 kB / 1.315 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.7808, allocations: 39.62 kB / 1.315 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.7808, allocations: 17.53 kB / 1.315 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003542/0.7812, allocations: 315.1 kB / 1.315 GB, free: 9.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.7812, allocations: 0 / 1.315 GB, free: 9.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006581/0.7818, allocations: 166.3 kB / 1.315 GB, free: 9.871 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002019/0.7838, allocations: 1.693 MB / 1.317 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.7853, allocations: 0.9635 MB / 1.318 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7854, allocations: 1.156 kB / 1.318 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.7863, allocations: 0.6605 MB / 1.318 GB, free: 7.738 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008104/0.7871, allocations: 178.4 kB / 1.318 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/0.7945, allocations: 5.646 MB / 1.324 GB, free: 4.352 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.795, allocations: 0.9489 MB / 1.325 GB, free: 3.625 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003327/0.7954, allocations: 117.1 kB / 1.325 GB, free: 3.598 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.7956, allocations: 210.8 kB / 1.325 GB, free: 3.438 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/0.7957, allocations: 0 / 1.325 GB, free: 3.438 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04986/0.8455, allocations: 14.37 MB / 1.339 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.879/10.72, allocations: 6.25 kB / 1.339 GB, free: 0.5156 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 15.964837778999936]