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.001308/0.001308, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.00154/0.00154, allocations: 219.6 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.672/2.672, allocations: 476.7 MB / 0.7715 GB, free: 4.301 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="cs",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="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.001987/0.001987, allocations: 62.11 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007595/0.3202, allocations: 5.685 MB / 1.29 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004648/0.3248, allocations: 2.755 MB / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.3253, allocations: 31.75 kB / 1.292 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.3273, allocations: 0.7133 MB / 1.293 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3283, allocations: 421.8 kB / 1.294 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.3292, allocations: 395.5 kB / 1.294 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.3304, allocations: 0.9516 MB / 1.295 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006233/0.331, allocations: 382 kB / 1.295 GB, free: 424 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006718/0.3317, allocations: 390.5 kB / 1.296 GB, free: 32 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.3324, allocations: 426.5 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3325, allocations: 48 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007348/0.3332, allocations: 379 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.3335, allocations: 251.2 kB / 1.297 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.334, allocations: 354.2 kB / 1.297 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3353, allocations: 0.9728 MB / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3353, allocations: 0 / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3353, allocations: 7.938 kB / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.3354, allocations: 0 / 1.298 GB, free: 13.62 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.001942/0.3373, allocations: 0.9131 MB / 1.299 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3374, allocations: 8.031 kB / 1.299 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.065e-05/0.3374, allocations: 13.19 kB / 1.299 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.3375, allocations: 106.6 kB / 1.299 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.339, allocations: 200.2 kB / 1.299 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.3399, allocations: 451.7 kB / 1.3 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3399, allocations: 37.38 kB / 1.3 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.3401, allocations: 64.28 kB / 1.3 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3414, allocations: 0.825 MB / 1.3 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.3414, allocations: 11.95 kB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.3415, allocations: 27.92 kB / 1.3 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.3417, allocations: 64.95 kB / 1.301 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009512/0.3426, allocations: 0.5658 MB / 1.301 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004875/0.3475, allocations: 4.505 MB / 1.305 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.348, allocations: 276.9 kB / 1.306 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.3483, allocations: 213.2 kB / 1.306 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3483, allocations: 4.281 kB / 1.306 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3484, allocations: 34.84 kB / 1.306 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.3484, allocations: 0 / 1.306 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.00577/0.3541, allocations: 2.343 MB / 1.308 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.3542, allocations: 63.34 kB / 1.308 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.3547, allocations: 446.1 kB / 1.309 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.3548, allocations: 37.7 kB / 1.309 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.355, allocations: 344.5 kB / 1.309 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3552, allocations: 150.7 kB / 1.309 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.3553, allocations: 106.2 kB / 1.309 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3555, allocations: 366.8 kB / 1.31 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.3559, allocations: 233.2 kB / 1.31 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.3564, allocations: 411.3 kB / 1.31 GB, free: 196 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/0.3574, allocations: 0.674 MB / 1.311 GB, free: 15.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3574, allocations: 4 kB / 1.311 GB, free: 15.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001735/0.3591, allocations: 0.9136 MB / 1.312 GB, free: 14.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3591, allocations: 8 kB / 1.312 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3591, allocations: 8 kB / 1.312 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007818/0.3599, allocations: 218.6 kB / 1.312 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.3604, allocations: 119.8 kB / 1.312 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/0.3659, allocations: 5.041 MB / 1.317 GB, free: 8.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.3664, allocations: 27.97 kB / 1.317 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.3664, allocations: 24 kB / 1.317 GB, free: 8.715 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.0003465/0.3668, allocations: 233.5 kB / 1.317 GB, free: 8.477 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3669, allocations: 67.61 kB / 1.317 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.3684, allocations: 0.7618 MB / 1.318 GB, free: 7.629 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3684, allocations: 4 kB / 1.318 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3685, allocations: 4.188 kB / 1.318 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.3685, allocations: 3.984 kB / 1.318 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.371, allocations: 1.463 MB / 1.32 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.371, allocations: 4.031 kB / 1.32 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.3714, allocations: 67.89 kB / 1.32 GB, free: 6.004 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006915/0.3721, allocations: 206.4 kB / 1.32 GB, free: 5.793 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.3721, allocations: 12 kB / 1.32 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/0.3772, allocations: 4.959 MB / 1.325 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3772, allocations: 4.031 kB / 1.325 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.3791, allocations: 1.124 MB / 1.326 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.3793, allocations: 103.6 kB / 1.326 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.3794, allocations: 11.98 kB / 1.326 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.3798, allocations: 27.97 kB / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.3799, allocations: 31.94 kB / 1.326 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.3799, allocations: 12 kB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003734/0.3803, allocations: 314.8 kB / 1.326 GB, free: 14.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3803, allocations: 0 / 1.326 GB, free: 14.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000699/0.381, allocations: 176 kB / 1.327 GB, free: 14.64 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.002184/0.3831, allocations: 1.699 MB / 1.328 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.3848, allocations: 0.9618 MB / 1.329 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3848, allocations: 0 / 1.329 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3858, allocations: 0.6759 MB / 1.33 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/0.3868, allocations: 175.1 kB / 1.33 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/0.3951, allocations: 5.621 MB / 1.335 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.3957, allocations: 0.9454 MB / 1.336 GB, free: 4.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003496/0.396, allocations: 113 kB / 1.336 GB, free: 4.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.3963, allocations: 207.4 kB / 1.337 GB, free: 3.816 MB / 1.029 GB Notification: Performance of SimCode: time 1.453e-06/0.3963, allocations: 0 / 1.337 GB, free: 3.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.4445, allocations: 14.7 MB / 1.351 GB, free: 5.402 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.45, allocations: 12 kB / 1.351 GB, free: 5.395 MB / 1.045 GB " [Timeout remaining time 286] (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: 19.990638513991144]