Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001835/0.001835, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002296/0.002296, allocations: 217.7 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.081/3.081, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 62.97 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007836/0.3272, allocations: 5.276 MB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.332, allocations: 2.611 MB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.3326, allocations: 31.69 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.3346, allocations: 0.6779 MB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.3358, allocations: 421.8 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3369, allocations: 394.8 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3383, allocations: 0.9555 MB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006738/0.339, allocations: 382.5 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.3397, allocations: 394.5 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006269/0.3403, allocations: 422.4 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.058e-05/0.3404, allocations: 51.94 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.3412, allocations: 331.3 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.3415, allocations: 251.2 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.3418, allocations: 294.6 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.3431, allocations: 0.9767 MB / 1.34 GB, free: 4.031 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3431, allocations: 0 / 1.34 GB, free: 4.031 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3431, allocations: 4 kB / 1.34 GB, free: 4.027 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.3432, allocations: 4 kB / 1.34 GB, free: 4.023 MB / 1.029 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.001645/0.3448, allocations: 0.9131 MB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3448, allocations: 8.031 kB / 1.341 GB, free: 3.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.604e-05/0.3449, allocations: 13.19 kB / 1.341 GB, free: 3.059 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.345, allocations: 98.7 kB / 1.341 GB, free: 2.953 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.3464, allocations: 204.3 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008145/0.3472, allocations: 451.7 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.3472, allocations: 45.3 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.3474, allocations: 64.17 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.3487, allocations: 0.9784 MB / 1.342 GB, free: 1.086 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.3487, allocations: 11.89 kB / 1.342 GB, free: 1.074 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.3488, allocations: 27.98 kB / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.349, allocations: 60.95 kB / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.3499, allocations: 0.5697 MB / 1.343 GB, free: 428 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/0.3543, allocations: 3.573 MB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.3548, allocations: 279.2 kB / 1.347 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.3551, allocations: 209.3 kB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3552, allocations: 4.281 kB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.3552, allocations: 34.84 kB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.3552, allocations: 0 / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005643/0.3609, allocations: 2.346 MB / 1.349 GB, free: 9.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3609, allocations: 67.33 kB / 1.349 GB, free: 9.691 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.3614, allocations: 450 kB / 1.35 GB, free: 9.242 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.3615, allocations: 37.7 kB / 1.35 GB, free: 9.199 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.3617, allocations: 352.5 kB / 1.35 GB, free: 8.852 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3618, allocations: 142.8 kB / 1.35 GB, free: 8.711 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.362, allocations: 106.2 kB / 1.35 GB, free: 8.602 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3622, allocations: 358.8 kB / 1.351 GB, free: 8.242 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.3625, allocations: 241.2 kB / 1.351 GB, free: 8.008 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.363, allocations: 415.3 kB / 1.351 GB, free: 7.523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.3639, allocations: 0.674 MB / 1.352 GB, free: 6.777 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3639, allocations: 4 kB / 1.352 GB, free: 6.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001748/0.3657, allocations: 0.9135 MB / 1.353 GB, free: 5.844 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3657, allocations: 9.656 kB / 1.353 GB, free: 5.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3657, allocations: 8 kB / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008107/0.3665, allocations: 230.8 kB / 1.353 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.367, allocations: 115.8 kB / 1.353 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.3724, allocations: 5.003 MB / 1.358 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.373, allocations: 35.97 kB / 1.358 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.3731, allocations: 23.98 kB / 1.358 GB, free: 76 kB / 1.045 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.0003718/0.3734, allocations: 230.2 kB / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.3735, allocations: 59.62 kB / 1.359 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.375, allocations: 0.7542 MB / 1.359 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.375, allocations: 8 kB / 1.359 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.375, allocations: 4 kB / 1.359 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.375, allocations: 3.984 kB / 1.359 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.3775, allocations: 1.396 MB / 1.361 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3775, allocations: 0 / 1.361 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.3779, allocations: 67.83 kB / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007036/0.3786, allocations: 202.6 kB / 1.361 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.3786, allocations: 16.17 kB / 1.361 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/0.3837, allocations: 4.94 MB / 1.366 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3837, allocations: 4 kB / 1.366 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.3856, allocations: 1.135 MB / 1.367 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.3858, allocations: 99.53 kB / 1.367 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.3859, allocations: 16 kB / 1.367 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.3862, allocations: 23.97 kB / 1.367 GB, free: 6.617 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.3863, allocations: 39.86 kB / 1.367 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.3864, allocations: 12 kB / 1.367 GB, free: 6.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003604/0.3867, allocations: 310.9 kB / 1.367 GB, free: 6.266 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3867, allocations: 0 / 1.367 GB, free: 6.266 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000671/0.3874, allocations: 168 kB / 1.367 GB, free: 6.102 MB / 1.061 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.002153/0.3896, allocations: 1.688 MB / 1.369 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.3912, allocations: 0.9729 MB / 1.37 GB, free: 3.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3912, allocations: 4 kB / 1.37 GB, free: 3.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000986/0.3922, allocations: 0.6564 MB / 1.371 GB, free: 2.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.3931, allocations: 188.8 kB / 1.371 GB, free: 2.461 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008112/0.4012, allocations: 5.616 MB / 1.376 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4016, allocations: 354.2 kB / 1.377 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003454/0.402, allocations: 105 kB / 1.377 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.4022, allocations: 211.4 kB / 1.377 GB, free: 11.88 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/0.4022, allocations: 0 / 1.377 GB, free: 11.88 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.4508, allocations: 15.44 MB / 1.392 GB, free: 12.84 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.63, allocations: 3.656 kB / 1.392 GB, free: 12.84 MB / 1.092 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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: 20.36002515000291]