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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 109.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.19/3.19, allocations: 497.2 MB / 0.7811 GB, free: 33.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 66.64 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3475, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007905/0.3554, allocations: 5.527 MB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004655/0.36, allocations: 2.657 MB / 1.312 GB, free: 9.312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.3604, allocations: 23.81 kB / 1.312 GB, free: 9.289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.3624, allocations: 0.6807 MB / 1.313 GB, free: 8.605 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.3634, allocations: 425.8 kB / 1.313 GB, free: 8.188 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3644, allocations: 406.5 kB / 1.313 GB, free: 7.793 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3656, allocations: 0.9513 MB / 1.314 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006466/0.3663, allocations: 370.8 kB / 1.315 GB, free: 6.465 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00054/0.3668, allocations: 374.7 kB / 1.315 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.3674, allocations: 434.3 kB / 1.315 GB, free: 5.672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/0.3675, allocations: 48 kB / 1.316 GB, free: 5.625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006913/0.3682, allocations: 371.2 kB / 1.316 GB, free: 5.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.3684, allocations: 251.3 kB / 1.316 GB, free: 5.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.3688, allocations: 350.2 kB / 1.316 GB, free: 4.672 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3701, allocations: 0.9767 MB / 1.317 GB, free: 3.691 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3701, allocations: 0 / 1.317 GB, free: 3.691 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3701, allocations: 0 / 1.317 GB, free: 3.691 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.3701, allocations: 0 / 1.317 GB, free: 3.691 MB / 1.014 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.001825/0.3719, allocations: 0.9961 MB / 1.318 GB, free: 2.641 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.372, allocations: 8.922 kB / 1.318 GB, free: 2.633 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.3721, allocations: 102.6 kB / 1.318 GB, free: 2.523 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.3735, allocations: 204.2 kB / 1.319 GB, free: 2.324 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/0.3745, allocations: 0.5184 MB / 1.319 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.3745, allocations: 37.36 kB / 1.319 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.3747, allocations: 60.53 kB / 1.319 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3759, allocations: 0.82 MB / 1.32 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.3759, allocations: 11.89 kB / 1.32 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.376, allocations: 31.98 kB / 1.32 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/0.3762, allocations: 60.95 kB / 1.32 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009898/0.3772, allocations: 0.5696 MB / 1.321 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005431/0.3826, allocations: 4.578 MB / 1.325 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.3831, allocations: 271.3 kB / 1.325 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.3834, allocations: 217.3 kB / 1.326 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3835, allocations: 288 / 1.326 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3835, allocations: 34.84 kB / 1.326 GB, free: 10.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.3835, allocations: 0 / 1.326 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.005893/0.3894, allocations: 2.647 MB / 1.328 GB, free: 7.859 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3894, allocations: 55.41 kB / 1.328 GB, free: 7.793 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.39, allocations: 458 kB / 1.329 GB, free: 7.332 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.39, allocations: 29.7 kB / 1.329 GB, free: 7.297 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.3903, allocations: 352.5 kB / 1.329 GB, free: 6.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.3905, allocations: 150.7 kB / 1.329 GB, free: 6.801 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.3906, allocations: 110.2 kB / 1.329 GB, free: 6.688 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3908, allocations: 358.8 kB / 1.33 GB, free: 6.328 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.3912, allocations: 244.9 kB / 1.33 GB, free: 6.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.3917, allocations: 406.5 kB / 1.33 GB, free: 5.617 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009618/0.3927, allocations: 0.674 MB / 1.331 GB, free: 4.871 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3927, allocations: 4 kB / 1.331 GB, free: 4.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001798/0.3945, allocations: 0.9061 MB / 1.332 GB, free: 3.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3945, allocations: 10.03 kB / 1.332 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3945, allocations: 8 kB / 1.332 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.3954, allocations: 234.5 kB / 1.332 GB, free: 3.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.3959, allocations: 115.8 kB / 1.332 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/0.4018, allocations: 5.333 MB / 1.337 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.4025, allocations: 35.97 kB / 1.338 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.4025, allocations: 20 kB / 1.338 GB, free: 13.78 MB / 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.000344/0.4029, allocations: 229.7 kB / 1.338 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.403, allocations: 63.56 kB / 1.338 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.4046, allocations: 0.7618 MB / 1.339 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4046, allocations: 4 kB / 1.339 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4046, allocations: 7.938 kB / 1.339 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4046, allocations: 3.984 kB / 1.339 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.4073, allocations: 1.486 MB / 1.34 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.4073, allocations: 12.16 kB / 1.34 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.4077, allocations: 67.88 kB / 1.34 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006994/0.4084, allocations: 210.3 kB / 1.34 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4084, allocations: 8 kB / 1.34 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/0.414, allocations: 5.274 MB / 1.345 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.414, allocations: 11.94 kB / 1.345 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.416, allocations: 1.121 MB / 1.347 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.4163, allocations: 180.7 kB / 1.347 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.4164, allocations: 12 kB / 1.347 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.4167, allocations: 23.97 kB / 1.347 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.4168, allocations: 35.89 kB / 1.347 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.4168, allocations: 16 kB / 1.347 GB, free: 3.652 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003874/0.4172, allocations: 310.9 kB / 1.347 GB, free: 3.352 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4172, allocations: 0 / 1.347 GB, free: 3.352 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007037/0.4179, allocations: 168 kB / 1.347 GB, free: 3.188 MB / 1.045 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.002223/0.4202, allocations: 1.693 MB / 1.349 GB, free: 1.434 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.4219, allocations: 0.9693 MB / 1.35 GB, free: 436 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4219, allocations: 0 / 1.35 GB, free: 436 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.423, allocations: 0.672 MB / 1.351 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.4239, allocations: 169.8 kB / 1.351 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008905/0.4328, allocations: 5.606 MB / 1.356 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.4335, allocations: 0.9532 MB / 1.357 GB, free: 8.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003922/0.4339, allocations: 113 kB / 1.357 GB, free: 8.566 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.4341, allocations: 211.4 kB / 1.357 GB, free: 8.359 MB / 1.061 GB Notification: Performance of SimCode: time 7.61e-07/0.4341, allocations: 0 / 1.357 GB, free: 8.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05068/0.4848, allocations: 14.21 MB / 1.371 GB, free: 10.42 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.68, allocations: 18.61 kB / 1.371 GB, free: 10.41 MB / 1.076 GB " [Timeout remaining time 288] (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_2/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: 18.415057278703898]