Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001288/0.001288, 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.001415/0.001415, allocations: 219.3 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.147/3.147, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_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_latest_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.001949/0.001949, allocations: 65.5 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007867/0.3446, allocations: 5.289 MB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004618/0.3492, allocations: 2.596 MB / 1.353 GB, free: 8.016 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.3497, allocations: 31.69 kB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.3516, allocations: 0.6874 MB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.3527, allocations: 421.7 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009779/0.3536, allocations: 399.1 kB / 1.354 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3548, allocations: 0.9555 MB / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006089/0.3554, allocations: 378.5 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006104/0.3561, allocations: 390.6 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.3567, allocations: 426.4 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.3567, allocations: 48 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006553/0.3574, allocations: 335.3 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.3577, allocations: 243.3 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.358, allocations: 290.6 kB / 1.357 GB, free: 3.453 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3592, allocations: 0.9923 MB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3592, allocations: 4 kB / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3592, allocations: 0 / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.3593, allocations: 0 / 1.358 GB, free: 2.453 MB / 1.045 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.001699/0.361, allocations: 0.9091 MB / 1.359 GB, free: 1.512 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.361, allocations: 8.031 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.628e-05/0.361, allocations: 17.19 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.3611, allocations: 106.7 kB / 1.359 GB, free: 1.375 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.3625, allocations: 192.3 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.3634, allocations: 455.6 kB / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.3634, allocations: 45.36 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.3636, allocations: 64.25 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3649, allocations: 0.9744 MB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.3649, allocations: 4 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.365, allocations: 27.97 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.3652, allocations: 64.95 kB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/0.3661, allocations: 0.5735 MB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.3703, allocations: 3.565 MB / 1.365 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.3708, allocations: 279.3 kB / 1.365 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.3711, allocations: 205.3 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3712, allocations: 4.281 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3712, allocations: 42.78 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/0.3712, allocations: 0 / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.005671/0.3769, allocations: 2.326 MB / 1.368 GB, free: 8.227 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3769, allocations: 71.22 kB / 1.368 GB, free: 8.145 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.3774, allocations: 458 kB / 1.368 GB, free: 7.688 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.3775, allocations: 33.7 kB / 1.369 GB, free: 7.648 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.3777, allocations: 348.5 kB / 1.369 GB, free: 7.301 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.3779, allocations: 154.7 kB / 1.369 GB, free: 7.148 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.3781, allocations: 110.2 kB / 1.369 GB, free: 7.031 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3782, allocations: 362.8 kB / 1.369 GB, free: 6.668 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.3786, allocations: 237.2 kB / 1.37 GB, free: 6.438 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.3791, allocations: 403.4 kB / 1.37 GB, free: 5.965 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.38, allocations: 0.6817 MB / 1.371 GB, free: 5.211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.38, allocations: 4 kB / 1.371 GB, free: 5.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001716/0.3817, allocations: 0.9212 MB / 1.372 GB, free: 4.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3817, allocations: 8 kB / 1.372 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3817, allocations: 4 kB / 1.372 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008226/0.3826, allocations: 222.8 kB / 1.372 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.3831, allocations: 115.8 kB / 1.372 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.3884, allocations: 4.999 MB / 1.377 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.3888, allocations: 31.97 kB / 1.377 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.3889, allocations: 20 kB / 1.377 GB, free: 14.52 MB / 1.076 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.0003316/0.3892, allocations: 241.6 kB / 1.377 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3893, allocations: 55.67 kB / 1.377 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.3908, allocations: 0.7579 MB / 1.378 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3909, allocations: 15.98 kB / 1.378 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3909, allocations: 0 / 1.378 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3909, allocations: 0 / 1.378 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.3933, allocations: 1.393 MB / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3933, allocations: 0 / 1.379 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.3937, allocations: 72.03 kB / 1.379 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007031/0.3944, allocations: 206.5 kB / 1.38 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.3944, allocations: 12 kB / 1.38 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/0.3995, allocations: 4.948 MB / 1.384 GB, free: 6.375 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.3996, allocations: 4.031 kB / 1.384 GB, free: 6.371 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.4015, allocations: 1.135 MB / 1.386 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.4017, allocations: 103.5 kB / 1.386 GB, free: 5.086 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.4018, allocations: 12 kB / 1.386 GB, free: 5.074 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.4021, allocations: 23.97 kB / 1.386 GB, free: 5.051 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4022, allocations: 31.94 kB / 1.386 GB, free: 5.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.4023, allocations: 12 kB / 1.386 GB, free: 5.008 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003623/0.4026, allocations: 318.9 kB / 1.386 GB, free: 4.699 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4026, allocations: 0 / 1.386 GB, free: 4.699 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006871/0.4033, allocations: 164 kB / 1.386 GB, free: 4.539 MB / 1.076 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.002177/0.4055, allocations: 1.692 MB / 1.388 GB, free: 2.789 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.4072, allocations: 0.962 MB / 1.389 GB, free: 1.789 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4072, allocations: 4 kB / 1.389 GB, free: 1.785 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4082, allocations: 0.6719 MB / 1.389 GB, free: 1.074 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.4091, allocations: 185.3 kB / 1.39 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.4173, allocations: 5.617 MB / 1.395 GB, free: 10.99 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.4176, allocations: 346.2 kB / 1.395 GB, free: 10.63 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003518/0.418, allocations: 105 kB / 1.395 GB, free: 10.53 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.4183, allocations: 207.4 kB / 1.396 GB, free: 10.32 MB / 1.092 GB Notification: Performance of SimCode: time 8.52e-07/0.4183, allocations: 4 kB / 1.396 GB, free: 10.32 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07037/0.4887, allocations: 15.43 MB / 1.411 GB, free: 11.27 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.82, allocations: 1.875 kB / 1.411 GB, free: 11.27 MB / 1.107 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.542826731922105]