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.001724/0.001724, allocations: 108.1 kB / 16.45 MB, free: 6.5 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.002165/0.002165, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.313/3.313, allocations: 0.49 GB / 0.7916 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",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="me",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.002108/0.002108, allocations: 68.31 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3415, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00818/0.3497, allocations: 5.551 MB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004909/0.3546, allocations: 2.7 MB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.3551, allocations: 35.69 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.3572, allocations: 0.6808 MB / 1.33 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.3584, allocations: 417.8 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3595, allocations: 391.1 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.361, allocations: 0.9591 MB / 1.331 GB, free: 8.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.3616, allocations: 370.9 kB / 1.332 GB, free: 8.152 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/0.3623, allocations: 386.6 kB / 1.332 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000607/0.3629, allocations: 426.3 kB / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.13e-05/0.363, allocations: 48 kB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007245/0.3637, allocations: 379.2 kB / 1.333 GB, free: 6.938 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.364, allocations: 255.2 kB / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.3643, allocations: 346.3 kB / 1.333 GB, free: 6.348 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.3656, allocations: 0.9727 MB / 1.334 GB, free: 5.371 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3656, allocations: 8 kB / 1.334 GB, free: 5.363 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3656, allocations: 0 / 1.334 GB, free: 5.363 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.3656, allocations: 0 / 1.334 GB, free: 5.363 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.001709/0.3673, allocations: 0.9922 MB / 1.335 GB, free: 4.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3673, allocations: 15.98 kB / 1.335 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.3675, allocations: 98.69 kB / 1.335 GB, free: 4.199 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.3689, allocations: 200.2 kB / 1.336 GB, free: 4.004 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/0.3698, allocations: 0.5262 MB / 1.336 GB, free: 3.441 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.3698, allocations: 33.38 kB / 1.336 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.37, allocations: 60.5 kB / 1.336 GB, free: 3.348 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3713, allocations: 0.8355 MB / 1.337 GB, free: 2.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3713, allocations: 4 kB / 1.337 GB, free: 2.426 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.3714, allocations: 20 kB / 1.337 GB, free: 2.406 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/0.3716, allocations: 64.95 kB / 1.337 GB, free: 2.344 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3727, allocations: 0.5735 MB / 1.338 GB, free: 1.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005369/0.378, allocations: 4.574 MB / 1.342 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.3786, allocations: 279.3 kB / 1.342 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.3789, allocations: 209.3 kB / 1.343 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.3789, allocations: 8.219 kB / 1.343 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.379, allocations: 38.84 kB / 1.343 GB, free: 12.3 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.775e-06/0.379, allocations: 4 kB / 1.343 GB, free: 12.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.006214/0.3852, allocations: 2.627 MB / 1.345 GB, free: 9.543 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3852, allocations: 59.34 kB / 1.345 GB, free: 9.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.3859, allocations: 462 kB / 1.346 GB, free: 9.008 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.3859, allocations: 33.7 kB / 1.346 GB, free: 8.969 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.3862, allocations: 348.5 kB / 1.346 GB, free: 8.625 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.3864, allocations: 150.7 kB / 1.346 GB, free: 8.477 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.3866, allocations: 110.2 kB / 1.346 GB, free: 8.363 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.3868, allocations: 366.8 kB / 1.347 GB, free: 7.996 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.3872, allocations: 233 kB / 1.347 GB, free: 7.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.3877, allocations: 410.4 kB / 1.347 GB, free: 7.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/0.3887, allocations: 0.674 MB / 1.348 GB, free: 6.543 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3887, allocations: 0 / 1.348 GB, free: 6.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00183/0.3905, allocations: 0.9136 MB / 1.349 GB, free: 5.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3906, allocations: 8 kB / 1.349 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3906, allocations: 8 kB / 1.349 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008569/0.3914, allocations: 218.9 kB / 1.349 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.392, allocations: 119.8 kB / 1.349 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.3982, allocations: 5.336 MB / 1.354 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.3987, allocations: 31.97 kB / 1.354 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.3987, allocations: 24 kB / 1.354 GB, free: 15.45 MB / 1.061 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.0003471/0.3991, allocations: 231.4 kB / 1.355 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3992, allocations: 63.56 kB / 1.355 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.4009, allocations: 0.7658 MB / 1.355 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4009, allocations: 4 kB / 1.355 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4009, allocations: 4 kB / 1.355 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4009, allocations: 0 / 1.355 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.4036, allocations: 1.493 MB / 1.357 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.4036, allocations: 4 kB / 1.357 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.404, allocations: 67.97 kB / 1.357 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007546/0.4048, allocations: 214.5 kB / 1.357 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.4048, allocations: 8 kB / 1.357 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/0.4107, allocations: 5.27 MB / 1.362 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4107, allocations: 0 / 1.362 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.4128, allocations: 1.132 MB / 1.363 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.4131, allocations: 172.6 kB / 1.364 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.4131, allocations: 11.98 kB / 1.364 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.4135, allocations: 28.16 kB / 1.364 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4136, allocations: 35.95 kB / 1.364 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.4136, allocations: 16 kB / 1.364 GB, free: 5.336 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004102/0.414, allocations: 310.9 kB / 1.364 GB, free: 5.035 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.414, allocations: 0 / 1.364 GB, free: 5.035 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007518/0.4148, allocations: 168 kB / 1.364 GB, free: 4.871 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.002355/0.4171, allocations: 1.685 MB / 1.366 GB, free: 3.125 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.419, allocations: 0.9768 MB / 1.367 GB, free: 2.109 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.419, allocations: 0 / 1.367 GB, free: 2.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.4201, allocations: 0.6642 MB / 1.367 GB, free: 1.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009275/0.421, allocations: 184.8 kB / 1.368 GB, free: 1.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/0.4295, allocations: 5.607 MB / 1.373 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.4302, allocations: 0.9494 MB / 1.374 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003431/0.4305, allocations: 109 kB / 1.374 GB, free: 10.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.4308, allocations: 219.3 kB / 1.374 GB, free: 10.03 MB / 1.076 GB Notification: Performance of SimCode: time 6.52e-07/0.4308, allocations: 0 / 1.374 GB, free: 10.03 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/0.5038, allocations: 14.2 MB / 1.388 GB, free: 12.09 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.92, allocations: 8.766 kB / 1.388 GB, free: 12.08 MB / 1.092 GB " [Timeout remaining time 288] (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: 18.741856649983674]