Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.000845/0.000845, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007912/0.0007912, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8402/0.8402, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.705/1.705, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.325e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007639/0.007662, allocations: 10.19 MB / 1.011 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.007433/0.0151, allocations: 8.378 MB / 1.019 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/0.01567, allocations: 91.19 kB / 1.019 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.01758, allocations: 1.673 MB / 1.021 GB, free: 8.602 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.0197, allocations: 1.609 MB / 1.022 GB, free: 6.984 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.0206, allocations: 0.6839 MB / 1.023 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.02208, allocations: 2.359 MB / 1.025 GB, free: 3.934 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000943/0.02303, allocations: 1.145 MB / 1.026 GB, free: 2.75 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.02415, allocations: 1.535 MB / 1.028 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006631/0.02481, allocations: 0.8295 MB / 1.029 GB, free: 388 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.02493, allocations: 136 kB / 1.029 GB, free: 252 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007555/0.02569, allocations: 0.7482 MB / 1.03 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.02601, allocations: 0.5957 MB / 1.03 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.0264, allocations: 0.5961 MB / 1.031 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.02808, allocations: 2.582 MB / 1.033 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.02808, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.02808, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.02809, allocations: 3.938 kB / 1.033 GB, free: 11.71 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001945/0.03004, allocations: 1.968 MB / 1.035 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.03007, allocations: 8.031 kB / 1.035 GB, free: 9.691 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.03519, allocations: 2.055 MB / 1.037 GB, free: 7.633 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.03665, allocations: 1.125 MB / 1.038 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.0367, allocations: 86.7 kB / 1.038 GB, free: 6.367 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.03687, allocations: 120.3 kB / 1.039 GB, free: 6.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.03989, allocations: 2.697 MB / 1.041 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.03992, allocations: 15.83 kB / 1.041 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.04002, allocations: 51.98 kB / 1.041 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.0402, allocations: 126.1 kB / 1.041 GB, free: 3.164 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/0.04394, allocations: 2.545 MB / 1.044 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/0.05058, allocations: 7.46 MB / 1.051 GB, free: 8.988 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.05377, allocations: 1.854 MB / 1.053 GB, free: 7.125 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.05516, allocations: 0.9494 MB / 1.054 GB, free: 6.176 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.05519, allocations: 4.5 kB / 1.054 GB, free: 6.172 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.05522, allocations: 43.06 kB / 1.054 GB, free: 6.121 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.05522, allocations: 0 / 1.054 GB, free: 6.121 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.5493/0.6045, allocations: 9.111 MB / 1.063 GB, free: 96.45 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.6045, allocations: 60.44 kB / 1.063 GB, free: 96.39 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/0.6052, allocations: 0.9607 MB / 1.064 GB, free: 96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.6053, allocations: 40.48 kB / 1.064 GB, free: 95.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.6055, allocations: 0.761 MB / 1.065 GB, free: 95.44 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.6057, allocations: 292.5 kB / 1.065 GB, free: 95.25 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.6059, allocations: 201.5 kB / 1.065 GB, free: 95.16 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.606, allocations: 347.6 kB / 1.065 GB, free: 94.84 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.6074, allocations: 1.084 MB / 1.066 GB, free: 94.56 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.6088, allocations: 1.318 MB / 1.068 GB, free: 94.01 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/0.6117, allocations: 2.398 MB / 1.07 GB, free: 93.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6117, allocations: 2.781 kB / 1.07 GB, free: 93.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004143/0.6158, allocations: 3.272 MB / 1.073 GB, free: 92.06 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6159, allocations: 12.47 kB / 1.073 GB, free: 92.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.6159, allocations: 8.938 kB / 1.073 GB, free: 92.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.6173, allocations: 0.85 MB / 1.074 GB, free: 91.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008703/0.6182, allocations: 410.2 kB / 1.074 GB, free: 91.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007272/0.6255, allocations: 15.02 MB / 1.089 GB, free: 79.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.6265, allocations: 299.2 kB / 1.089 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.6266, allocations: 49.08 kB / 1.089 GB, free: 79.76 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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 {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0005571/0.6271, allocations: 406.4 kB / 1.09 GB, free: 79.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.6273, allocations: 136.3 kB / 1.09 GB, free: 79.43 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.6316, allocations: 3.206 MB / 1.093 GB, free: 78.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6316, allocations: 5.688 kB / 1.093 GB, free: 78.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6316, allocations: 8.969 kB / 1.093 GB, free: 78.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6316, allocations: 3.141 kB / 1.093 GB, free: 78.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/0.638, allocations: 4.521 MB / 1.098 GB, free: 76.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.638, allocations: 2.562 kB / 1.098 GB, free: 76.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/0.6389, allocations: 361.8 kB / 1.098 GB, free: 76.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.6403, allocations: 0.768 MB / 1.099 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.6404, allocations: 28.62 kB / 1.099 GB, free: 76.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00849/0.6489, allocations: 14.63 MB / 1.113 GB, free: 64.69 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.6489, allocations: 4.875 kB / 1.113 GB, free: 64.69 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.6537, allocations: 3.039 MB / 1.116 GB, free: 63.62 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.6541, allocations: 301.4 kB / 1.116 GB, free: 63.47 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-05/0.6542, allocations: 23.64 kB / 1.116 GB, free: 63.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009343/0.6552, allocations: 294 kB / 1.117 GB, free: 63.45 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.6554, allocations: 85.89 kB / 1.117 GB, free: 63.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.6555, allocations: 40.39 kB / 1.117 GB, free: 63.42 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006884/0.6562, allocations: 0.6337 MB / 1.117 GB, free: 63.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6562, allocations: 1.156 kB / 1.117 GB, free: 63.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001324/0.6575, allocations: 441.6 kB / 1.118 GB, free: 63.12 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002384/0.6577, allocations: 126.9 kB / 1.118 GB, free: 63.01 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004678/0.6624, allocations: 3.55 MB / 1.121 GB, free: 61.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6624, allocations: 1.125 kB / 1.121 GB, free: 61.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/0.6651, allocations: 2.338 MB / 1.124 GB, free: 60.15 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6663, allocations: 487 kB / 1.124 GB, free: 60 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.6718, allocations: 3.856 MB / 1.128 GB, free: 58.47 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/0.6725, allocations: 0.8037 MB / 1.129 GB, free: 58.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.6729, allocations: 119.9 kB / 1.129 GB, free: 58.24 MB / 1.01 GB Notification: Performance of SimCode: time 1.272e-06/0.6729, allocations: 0 / 1.129 GB, free: 58.24 MB / 1.01 GB Notification: Performance of Templates: time 0.04952/0.7224, allocations: 74.99 MB / 1.202 GB, free: 10.49 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 11.174872335977852]