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.001542/0.001542, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001957/0.001957, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.181/3.181, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] 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.001972/0.001972, allocations: 59.95 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3477, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008616/0.3563, allocations: 5.68 MB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.3614, allocations: 2.759 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006167/0.362, allocations: 27.75 kB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.3643, allocations: 0.7203 MB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.3656, allocations: 421.8 kB / 1.355 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3668, allocations: 409 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.3683, allocations: 0.9438 MB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.369, allocations: 390.4 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007891/0.3698, allocations: 382.6 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008068/0.3706, allocations: 430.4 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.3708, allocations: 51.94 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008203/0.3716, allocations: 371.2 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.3719, allocations: 247.3 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.3724, allocations: 350.3 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.3739, allocations: 0.9805 MB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3739, allocations: 0 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3739, allocations: 0 / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.289e-05/0.374, allocations: 0 / 1.359 GB, free: 2.293 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.002104/0.3761, allocations: 0.9093 MB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.3761, allocations: 12.03 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.075e-05/0.3761, allocations: 17.17 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.3763, allocations: 102.6 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.3778, allocations: 200.2 kB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/0.3787, allocations: 451.7 kB / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.3788, allocations: 37.36 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.379, allocations: 68.23 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.3803, allocations: 0.8277 MB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.3803, allocations: 3.938 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.3804, allocations: 31.92 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.3806, allocations: 60.95 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3816, allocations: 0.5736 MB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005061/0.3866, allocations: 4.497 MB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.3871, allocations: 279.2 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.3875, allocations: 213.3 kB / 1.367 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3875, allocations: 8.281 kB / 1.367 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3875, allocations: 30.84 kB / 1.367 GB, free: 9.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.3875, allocations: 0 / 1.367 GB, free: 9.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.005906/0.3934, allocations: 2.33 MB / 1.369 GB, free: 7.117 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.3935, allocations: 59.34 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.3941, allocations: 454 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.3941, allocations: 41.7 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.3944, allocations: 348.5 kB / 1.37 GB, free: 6.199 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.3945, allocations: 154.7 kB / 1.37 GB, free: 6.047 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.3947, allocations: 102.3 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3949, allocations: 358.8 kB / 1.371 GB, free: 5.578 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.3953, allocations: 237.2 kB / 1.371 GB, free: 5.348 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.3959, allocations: 415.3 kB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009627/0.3968, allocations: 0.674 MB / 1.372 GB, free: 4.117 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3968, allocations: 4 kB / 1.372 GB, free: 4.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001936/0.3988, allocations: 0.9171 MB / 1.373 GB, free: 3.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3988, allocations: 8 kB / 1.373 GB, free: 3.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.3988, allocations: 4.656 kB / 1.373 GB, free: 3.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008717/0.3997, allocations: 226.4 kB / 1.373 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.4002, allocations: 115.8 kB / 1.373 GB, free: 2.824 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/0.4061, allocations: 5.038 MB / 1.378 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/0.4068, allocations: 31.97 kB / 1.378 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.4068, allocations: 24 kB / 1.378 GB, free: 13.39 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.0004487/0.4073, allocations: 229.5 kB / 1.379 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.4074, allocations: 59.67 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.4092, allocations: 0.7657 MB / 1.379 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4092, allocations: 8 kB / 1.379 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.4092, allocations: 0 / 1.379 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4092, allocations: 3.938 kB / 1.379 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.412, allocations: 1.459 MB / 1.381 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.412, allocations: 4 kB / 1.381 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.4123, allocations: 63.89 kB / 1.381 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007288/0.4131, allocations: 206.6 kB / 1.381 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.4131, allocations: 12 kB / 1.381 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005299/0.4184, allocations: 4.975 MB / 1.386 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4184, allocations: 0 / 1.386 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.4204, allocations: 1.139 MB / 1.387 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.4207, allocations: 99.5 kB / 1.387 GB, free: 3.867 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4208, allocations: 8 kB / 1.387 GB, free: 3.859 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.4212, allocations: 31.91 kB / 1.387 GB, free: 3.828 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4213, allocations: 36 kB / 1.387 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.4214, allocations: 16 kB / 1.387 GB, free: 3.777 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004029/0.4218, allocations: 314.8 kB / 1.388 GB, free: 3.473 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4218, allocations: 0 / 1.388 GB, free: 3.473 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007809/0.4226, allocations: 172 kB / 1.388 GB, free: 3.305 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.002237/0.4248, allocations: 1.684 MB / 1.389 GB, free: 1.562 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.4265, allocations: 0.962 MB / 1.39 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4266, allocations: 0 / 1.39 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.4277, allocations: 0.6681 MB / 1.391 GB, free: 15.86 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4289, allocations: 174.9 kB / 1.391 GB, free: 15.69 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.4381, allocations: 5.627 MB / 1.397 GB, free: 9.781 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.4388, allocations: 0.9454 MB / 1.398 GB, free: 8.809 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003872/0.4392, allocations: 117 kB / 1.398 GB, free: 8.695 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.4395, allocations: 211.4 kB / 1.398 GB, free: 8.488 MB / 1.092 GB Notification: Performance of SimCode: time 9.31e-07/0.4395, allocations: 0 / 1.398 GB, free: 8.488 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05319/0.4927, allocations: 14.69 MB / 1.412 GB, free: 10.08 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.42, allocations: 7.25 kB / 1.412 GB, free: 10.07 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.275971744034905]