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.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.001667/0.001667, allocations: 104.4 kB / 16.45 MB, free: 6.445 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.001889/0.001889, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.476/1.476, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 1.104 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 168.7 MB / 1.269 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006787/1.054, allocations: 5.557 MB / 1.274 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004082/1.058, allocations: 2.644 MB / 1.277 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/1.058, allocations: 25.25 kB / 1.277 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/1.06, allocations: 0.6915 MB / 1.277 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/1.061, allocations: 424.1 kB / 1.278 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/1.062, allocations: 388 kB / 1.278 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001521/1.064, allocations: 0.9603 MB / 1.279 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007099/1.065, allocations: 376 kB / 1.28 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007949/1.065, allocations: 376 kB / 1.28 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/1.066, allocations: 430.9 kB / 1.28 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/1.066, allocations: 48.09 kB / 1.28 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008262/1.067, allocations: 370.2 kB / 1.281 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/1.067, allocations: 260.8 kB / 1.281 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003858/1.068, allocations: 340 kB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/1.069, allocations: 0.976 MB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.069, allocations: 7.5 kB / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/1.069, allocations: 0 / 1.282 GB, free: 15.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.912e-05/1.069, allocations: 0 / 1.282 GB, free: 15.61 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.001901/1.071, allocations: 0.9887 MB / 1.283 GB, free: 14.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.071, allocations: 10.78 kB / 1.283 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/1.071, allocations: 96.39 kB / 1.283 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/1.073, allocations: 199.4 kB / 1.283 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/1.074, allocations: 0.5234 MB / 1.284 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/1.074, allocations: 37.55 kB / 1.284 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/1.074, allocations: 51.8 kB / 1.284 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/1.075, allocations: 0.8368 MB / 1.285 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/1.075, allocations: 2.469 kB / 1.285 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/1.075, allocations: 23.59 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/1.075, allocations: 71.61 kB / 1.285 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/1.076, allocations: 0.5742 MB / 1.286 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/1.082, allocations: 4.561 MB / 1.29 GB, free: 9.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/1.082, allocations: 281.4 kB / 1.29 GB, free: 9.652 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/1.083, allocations: 210.9 kB / 1.29 GB, free: 9.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/1.083, allocations: 11.28 kB / 1.29 GB, free: 9.562 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/1.083, allocations: 40.94 kB / 1.291 GB, free: 9.516 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.885e-06/1.083, allocations: 0 / 1.291 GB, free: 9.516 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.005913/1.089, allocations: 2.635 MB / 1.293 GB, free: 8.121 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.089, allocations: 66.75 kB / 1.293 GB, free: 8.051 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/1.089, allocations: 463.1 kB / 1.294 GB, free: 7.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/1.089, allocations: 32.86 kB / 1.294 GB, free: 7.785 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/1.089, allocations: 340 kB / 1.294 GB, free: 7.512 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/1.09, allocations: 154.5 kB / 1.294 GB, free: 7.391 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.09, allocations: 102.6 kB / 1.294 GB, free: 7.336 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.09, allocations: 366.7 kB / 1.295 GB, free: 6.996 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/1.09, allocations: 240.9 kB / 1.295 GB, free: 6.914 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/1.091, allocations: 410.8 kB / 1.295 GB, free: 6.617 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/1.092, allocations: 0.6789 MB / 1.296 GB, free: 6.176 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.092, allocations: 2.344 kB / 1.296 GB, free: 6.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002214/1.094, allocations: 0.917 MB / 1.297 GB, free: 5.789 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.094, allocations: 13.22 kB / 1.297 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.094, allocations: 5.594 kB / 1.297 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00084/1.095, allocations: 223.3 kB / 1.297 GB, free: 5.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/1.095, allocations: 111.8 kB / 1.297 GB, free: 5.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00621/1.102, allocations: 5.343 MB / 1.302 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/1.102, allocations: 28.97 kB / 1.302 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/1.102, allocations: 23.59 kB / 1.302 GB, free: 1.031 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.0004795/1.103, allocations: 220.8 kB / 1.303 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/1.103, allocations: 64.38 kB / 1.303 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/1.105, allocations: 0.7666 MB / 1.303 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/1.105, allocations: 8.312 kB / 1.303 GB, free: 500 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.105, allocations: 2.984 kB / 1.303 GB, free: 500 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.105, allocations: 2.062 kB / 1.303 GB, free: 500 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/1.108, allocations: 1.495 MB / 1.305 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.108, allocations: 1.844 kB / 1.305 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/1.108, allocations: 68.8 kB / 1.305 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007011/1.109, allocations: 206.3 kB / 1.305 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/1.109, allocations: 12.94 kB / 1.305 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/1.115, allocations: 5.281 MB / 1.31 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.115, allocations: 6.312 kB / 1.31 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/1.117, allocations: 1.122 MB / 1.311 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/1.117, allocations: 171.2 kB / 1.312 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/1.117, allocations: 10.84 kB / 1.312 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/1.118, allocations: 31.64 kB / 1.312 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.118, allocations: 30.45 kB / 1.312 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/1.118, allocations: 14.58 kB / 1.312 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004383/1.118, allocations: 308.3 kB / 1.312 GB, free: 10.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.118, allocations: 0 / 1.312 GB, free: 10.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008709/1.119, allocations: 170.9 kB / 1.312 GB, free: 10.07 MB / 1.029 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.002334/1.121, allocations: 1.698 MB / 1.314 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.123, allocations: 0.9619 MB / 1.315 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.123, allocations: 1.125 kB / 1.315 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.124, allocations: 0.6726 MB / 1.315 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/1.125, allocations: 170.6 kB / 1.315 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/1.135, allocations: 5.604 MB / 1.321 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/1.135, allocations: 0.951 MB / 1.322 GB, free: 3.824 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005059/1.136, allocations: 119.5 kB / 1.322 GB, free: 3.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/1.136, allocations: 214.7 kB / 1.322 GB, free: 3.629 MB / 1.029 GB Notification: Performance of SimCode: time 1.122e-06/1.136, allocations: 0 / 1.322 GB, free: 3.629 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05756/1.194, allocations: 14.2 MB / 1.336 GB, free: 1.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.57, allocations: 15.56 kB / 1.336 GB, free: 1.105 MB / 1.029 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_2/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.885626297444105]