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.001706/0.001706, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002256/0.002256, allocations: 219.3 kB / 23.03 MB, free: 4.945 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.688/2.688, allocations: 476.8 MB / 0.7715 GB, free: 3.941 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.001986/0.001986, allocations: 62.61 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3179, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009064/0.327, allocations: 5.277 MB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004914/0.3319, allocations: 2.6 MB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.3323, allocations: 35.69 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.3343, allocations: 0.6739 MB / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.3353, allocations: 425.7 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000974/0.3363, allocations: 400.4 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3374, allocations: 0.9439 MB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.338, allocations: 389.9 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.3385, allocations: 378.7 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.339, allocations: 442.3 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.911e-05/0.3391, allocations: 48 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.3397, allocations: 331.2 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.34, allocations: 259.2 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.3403, allocations: 290.6 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.3413, allocations: 0.9807 MB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3414, allocations: 0 / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3414, allocations: 3.938 kB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.3414, allocations: 3.984 kB / 1.297 GB, free: 13.27 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.001554/0.3429, allocations: 0.9092 MB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.343, allocations: 16.03 kB / 1.298 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.432e-05/0.343, allocations: 13.19 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.3431, allocations: 98.69 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.3445, allocations: 196.3 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.3452, allocations: 463.6 kB / 1.299 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.3453, allocations: 37.38 kB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.3454, allocations: 56.3 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3467, allocations: 0.9784 MB / 1.3 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.3468, allocations: 7.953 kB / 1.3 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.3468, allocations: 20 kB / 1.3 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/0.347, allocations: 64.94 kB / 1.3 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.3479, allocations: 0.5774 MB / 1.301 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.3519, allocations: 3.573 MB / 1.304 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.3524, allocations: 271.3 kB / 1.304 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.3527, allocations: 209.3 kB / 1.304 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3527, allocations: 4.281 kB / 1.304 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3528, allocations: 38.84 kB / 1.305 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.3528, allocations: 0 / 1.305 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005602/0.3584, allocations: 2.339 MB / 1.307 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3584, allocations: 59.34 kB / 1.307 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.3589, allocations: 458 kB / 1.307 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.359, allocations: 37.64 kB / 1.307 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.3592, allocations: 348.5 kB / 1.308 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3593, allocations: 150.7 kB / 1.308 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.3595, allocations: 110.2 kB / 1.308 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3597, allocations: 358.8 kB / 1.308 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.36, allocations: 233.2 kB / 1.308 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.3605, allocations: 415.4 kB / 1.309 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.3614, allocations: 0.6739 MB / 1.31 GB, free: 40 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3614, allocations: 4 kB / 1.31 GB, free: 36 kB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001736/0.3632, allocations: 0.9133 MB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3632, allocations: 8 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3632, allocations: 7.938 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/0.364, allocations: 223 kB / 1.311 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.3645, allocations: 111.8 kB / 1.311 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.3699, allocations: 5.01 MB / 1.316 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.3704, allocations: 31.97 kB / 1.316 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.3704, allocations: 28.12 kB / 1.316 GB, free: 9.336 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.000333/0.3708, allocations: 225.5 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/0.3709, allocations: 63.61 kB / 1.316 GB, free: 9.043 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.3724, allocations: 0.7619 MB / 1.317 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3724, allocations: 4 kB / 1.317 GB, free: 8.258 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3724, allocations: 3.938 kB / 1.317 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3724, allocations: 7.984 kB / 1.317 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.3749, allocations: 1.4 MB / 1.318 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3749, allocations: 0 / 1.318 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.3753, allocations: 71.94 kB / 1.318 GB, free: 6.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006965/0.376, allocations: 206.5 kB / 1.318 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.376, allocations: 8 kB / 1.318 GB, free: 6.477 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/0.3811, allocations: 4.928 MB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3811, allocations: 4.031 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.383, allocations: 1.128 MB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.3832, allocations: 99.58 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.3833, allocations: 8 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.3836, allocations: 28.16 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.3837, allocations: 32.08 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.3837, allocations: 20 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003637/0.3841, allocations: 314.8 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3841, allocations: 4.062 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000685/0.3848, allocations: 168 kB / 1.325 GB, free: 15.37 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.002174/0.387, allocations: 1.707 MB / 1.327 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.3886, allocations: 0.9657 MB / 1.328 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3886, allocations: 0 / 1.328 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009859/0.3896, allocations: 0.6798 MB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/0.3905, allocations: 180.5 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/0.3986, allocations: 5.608 MB / 1.334 GB, free: 5.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3989, allocations: 350.2 kB / 1.334 GB, free: 5.453 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003531/0.3993, allocations: 117 kB / 1.334 GB, free: 5.336 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.3996, allocations: 207.4 kB / 1.335 GB, free: 5.133 MB / 1.029 GB Notification: Performance of SimCode: time 1.082e-06/0.3996, allocations: 0 / 1.335 GB, free: 5.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04672/0.4463, allocations: 15.42 MB / 1.35 GB, free: 6.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.46, allocations: 15.33 kB / 1.35 GB, free: 6.113 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: 20.11966842401307]