Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001809/0.001809, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001613/0.001613, allocations: 221.2 kB / 22.25 MB, free: 5.102 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.124/3.124, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",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.001942/0.001942, allocations: 71.94 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3366, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00903/0.3456, allocations: 6.49 MB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005275/0.3509, allocations: 3.04 MB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004113/0.3513, allocations: 39.62 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.3538, allocations: 0.9489 MB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.3551, allocations: 0.5207 MB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3562, allocations: 428.4 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3577, allocations: 1.225 MB / 1.338 GB, free: 4.777 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008865/0.3586, allocations: 0.5451 MB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000688/0.3593, allocations: 486.3 kB / 1.339 GB, free: 3.746 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007944/0.3601, allocations: 0.5526 MB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3602, allocations: 71.94 kB / 1.34 GB, free: 3.121 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006559/0.3608, allocations: 339.3 kB / 1.34 GB, free: 2.789 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.3611, allocations: 319.1 kB / 1.34 GB, free: 2.477 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.3616, allocations: 374.2 kB / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.363, allocations: 1.23 MB / 1.342 GB, free: 0.875 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.363, allocations: 0 / 1.342 GB, free: 0.875 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.363, allocations: 0 / 1.342 GB, free: 0.875 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.363, allocations: 4 kB / 1.342 GB, free: 0.8711 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002118/0.3652, allocations: 1.108 MB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.3652, allocations: 16.03 kB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.3654, allocations: 118.7 kB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.367, allocations: 240.1 kB / 1.343 GB, free: 15.35 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.368, allocations: 0.5231 MB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.3681, allocations: 49.61 kB / 1.344 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.3682, allocations: 64.38 kB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.3699, allocations: 1.34 MB / 1.345 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.37, allocations: 3.938 kB / 1.345 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.3701, allocations: 39.98 kB / 1.345 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.3702, allocations: 85.25 kB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.3714, allocations: 0.7465 MB / 1.346 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.3767, allocations: 4.632 MB / 1.351 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.3777, allocations: 0.5125 MB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.3781, allocations: 282 kB / 1.352 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.3781, allocations: 4.438 kB / 1.352 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3782, allocations: 42.94 kB / 1.352 GB, free: 6.648 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.465e-06/0.3782, allocations: 0 / 1.352 GB, free: 6.648 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.00378/0.3819, allocations: 1.69 MB / 1.353 GB, free: 4.941 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.382, allocations: 59.84 kB / 1.353 GB, free: 4.871 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.3826, allocations: 0.5625 MB / 1.354 GB, free: 4.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.3827, allocations: 37.7 kB / 1.354 GB, free: 4.254 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.383, allocations: 424 kB / 1.354 GB, free: 3.832 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.3831, allocations: 182.5 kB / 1.354 GB, free: 3.652 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.3833, allocations: 122.6 kB / 1.355 GB, free: 3.527 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.3835, allocations: 378.7 kB / 1.355 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.3839, allocations: 277.8 kB / 1.355 GB, free: 2.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.3845, allocations: 493.5 kB / 1.356 GB, free: 2.301 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3855, allocations: 0.8083 MB / 1.356 GB, free: 1.398 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.3855, allocations: 4 kB / 1.356 GB, free: 1.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001826/0.3874, allocations: 1.082 MB / 1.358 GB, free: 296 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3874, allocations: 8 kB / 1.358 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3874, allocations: 4 kB / 1.358 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008872/0.3883, allocations: 291.2 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.3888, allocations: 123.8 kB / 1.358 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/0.3956, allocations: 6.678 MB / 1.364 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.3962, allocations: 35.95 kB / 1.364 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.3962, allocations: 32 kB / 1.365 GB, free: 8.648 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0003611/0.3966, allocations: 261.5 kB / 1.365 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3967, allocations: 71.58 kB / 1.365 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.3983, allocations: 0.8767 MB / 1.366 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.3983, allocations: 8 kB / 1.366 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3983, allocations: 4.234 kB / 1.366 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3983, allocations: 7.922 kB / 1.366 GB, free: 7.402 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.401, allocations: 1.614 MB / 1.367 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.401, allocations: 3.938 kB / 1.367 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.4013, allocations: 59.89 kB / 1.367 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007721/0.402, allocations: 271.3 kB / 1.368 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.4021, allocations: 8 kB / 1.368 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006698/0.4088, allocations: 6.666 MB / 1.374 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4088, allocations: 8.062 kB / 1.374 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.4104, allocations: 0.9765 MB / 1.375 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.4107, allocations: 119.5 kB / 1.375 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.4108, allocations: 15.94 kB / 1.375 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.4112, allocations: 23.97 kB / 1.375 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.4113, allocations: 51.84 kB / 1.375 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.4114, allocations: 20 kB / 1.375 GB, free: 12.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004422/0.4118, allocations: 383.1 kB / 1.376 GB, free: 12.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4118, allocations: 4 kB / 1.376 GB, free: 12.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007978/0.4126, allocations: 220 kB / 1.376 GB, free: 12.38 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/0.4146, allocations: 1.542 MB / 1.377 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.4166, allocations: 1.228 MB / 1.379 GB, free: 9.512 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4166, allocations: 0 / 1.379 GB, free: 9.512 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.4179, allocations: 0.8657 MB / 1.379 GB, free: 8.594 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.419, allocations: 228.8 kB / 1.38 GB, free: 8.383 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/0.4284, allocations: 6.361 MB / 1.386 GB, free: 1.684 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.4288, allocations: 419.5 kB / 1.386 GB, free: 1.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004197/0.4293, allocations: 121.9 kB / 1.386 GB, free: 1.129 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.4296, allocations: 251.4 kB / 1.387 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/0.4296, allocations: 0 / 1.387 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06041/0.49, allocations: 19.48 MB / 1.406 GB, free: 13.82 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.36, allocations: 4 kB / 1.406 GB, free: 13.81 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.97409647598397]