Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001685/0.001685, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002114/0.002114, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002104/0.002104, allocations: 71.11 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007773/0.3349, allocations: 5.276 MB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004862/0.3398, allocations: 2.607 MB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.3402, allocations: 35.69 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.3421, allocations: 0.6787 MB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.3433, allocations: 425.8 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3444, allocations: 400.2 kB / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3456, allocations: 0.9477 MB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.3462, allocations: 382.5 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.3468, allocations: 390.6 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.3474, allocations: 398.4 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.3475, allocations: 48 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.3482, allocations: 335.2 kB / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.3484, allocations: 251.2 kB / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.3488, allocations: 286.7 kB / 1.295 GB, free: 24 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3501, allocations: 0.9861 MB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3501, allocations: 0 / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3501, allocations: 0 / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.3501, allocations: 4 kB / 1.296 GB, free: 15.03 MB / 0.9981 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.001694/0.3518, allocations: 0.9208 MB / 1.297 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3518, allocations: 8.031 kB / 1.297 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.352, allocations: 102.7 kB / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3533, allocations: 192.3 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/0.3543, allocations: 459.6 kB / 1.297 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.3543, allocations: 41.36 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.3545, allocations: 48.56 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3558, allocations: 0.9822 MB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.3559, allocations: 15.88 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.3559, allocations: 27.98 kB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.3561, allocations: 64.95 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/0.3571, allocations: 0.5658 MB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.3618, allocations: 3.569 MB / 1.302 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.3623, allocations: 275.2 kB / 1.303 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.3626, allocations: 209.3 kB / 1.303 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.3626, allocations: 4.281 kB / 1.303 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.3627, allocations: 38.84 kB / 1.303 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/0.3627, allocations: 0 / 1.303 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005661/0.3683, allocations: 2.335 MB / 1.305 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.3684, allocations: 55.41 kB / 1.305 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.369, allocations: 469.8 kB / 1.306 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.369, allocations: 33.7 kB / 1.306 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.3693, allocations: 356.5 kB / 1.306 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.3694, allocations: 154.7 kB / 1.306 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.3696, allocations: 106.2 kB / 1.306 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.3698, allocations: 362.8 kB / 1.307 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.3702, allocations: 237.2 kB / 1.307 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.3707, allocations: 407.3 kB / 1.307 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009095/0.3716, allocations: 0.6779 MB / 1.308 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3716, allocations: 0 / 1.308 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001729/0.3733, allocations: 0.9138 MB / 1.309 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3734, allocations: 8 kB / 1.309 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3734, allocations: 4 kB / 1.309 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007943/0.3742, allocations: 222.4 kB / 1.309 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.3747, allocations: 115.8 kB / 1.309 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/0.3803, allocations: 5.006 MB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.3808, allocations: 31.97 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.3808, allocations: 24 kB / 1.314 GB, free: 11.1 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.0003442/0.3812, allocations: 221.6 kB / 1.314 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3813, allocations: 63.56 kB / 1.314 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.3828, allocations: 0.7658 MB / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3828, allocations: 7.984 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3828, allocations: 4 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3828, allocations: 0 / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.3854, allocations: 1.396 MB / 1.317 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3854, allocations: 8.219 kB / 1.317 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.3858, allocations: 71.81 kB / 1.317 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006848/0.3865, allocations: 206.4 kB / 1.317 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.3865, allocations: 8 kB / 1.317 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005344/0.3919, allocations: 4.944 MB / 1.322 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3919, allocations: 4.031 kB / 1.322 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.3938, allocations: 1.116 MB / 1.323 GB, free: 1.789 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.3941, allocations: 111.5 kB / 1.323 GB, free: 1.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.3942, allocations: 12.12 kB / 1.323 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.3945, allocations: 23.97 kB / 1.323 GB, free: 1.645 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/0.3946, allocations: 39.88 kB / 1.323 GB, free: 1.605 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.3946, allocations: 16.19 kB / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000406/0.395, allocations: 310.9 kB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.395, allocations: 0 / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007192/0.3957, allocations: 164 kB / 1.323 GB, free: 1.129 MB / 1.014 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.002311/0.3981, allocations: 1.703 MB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.3999, allocations: 0.9695 MB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.3999, allocations: 0 / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4009, allocations: 0.6681 MB / 1.327 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/0.4018, allocations: 192.7 kB / 1.327 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008723/0.4105, allocations: 5.601 MB / 1.332 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.411, allocations: 354.1 kB / 1.333 GB, free: 7.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000442/0.4114, allocations: 117 kB / 1.333 GB, free: 7.102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.4117, allocations: 215.4 kB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of SimCode: time 1.623e-06/0.4117, allocations: 0 / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08056/0.4923, allocations: 15.62 MB / 1.348 GB, free: 7.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.3, allocations: 1.891 kB / 1.348 GB, free: 7.656 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.981940515805036]