Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001371/0.001371, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001437/0.001437, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.178/3.178, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002057/0.002057, allocations: 73.09 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3121, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007946/0.32, allocations: 5.626 MB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004643/0.3247, allocations: 2.72 MB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.325, allocations: 31.69 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.3269, allocations: 0.6846 MB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009347/0.3279, allocations: 421.7 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.3289, allocations: 411 kB / 1.33 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.3301, allocations: 0.963 MB / 1.331 GB, free: 8.418 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006126/0.3307, allocations: 366.9 kB / 1.332 GB, free: 8.055 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.3313, allocations: 394.6 kB / 1.332 GB, free: 7.668 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.3319, allocations: 430.3 kB / 1.333 GB, free: 7.246 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.332, allocations: 48 kB / 1.333 GB, free: 7.199 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000655/0.3326, allocations: 371.2 kB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.3329, allocations: 251.2 kB / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.3332, allocations: 350.2 kB / 1.334 GB, free: 6.246 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.3344, allocations: 0.9728 MB / 1.334 GB, free: 5.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3344, allocations: 0 / 1.334 GB, free: 5.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3344, allocations: 7.922 kB / 1.334 GB, free: 5.262 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.3345, allocations: 4 kB / 1.334 GB, free: 5.258 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001673/0.3361, allocations: 0.9961 MB / 1.335 GB, free: 4.211 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3362, allocations: 11.98 kB / 1.335 GB, free: 4.199 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.3363, allocations: 106.7 kB / 1.336 GB, free: 4.086 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.3378, allocations: 196.3 kB / 1.336 GB, free: 3.895 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008658/0.3386, allocations: 0.53 MB / 1.336 GB, free: 3.328 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.3387, allocations: 45.36 kB / 1.336 GB, free: 3.281 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.3388, allocations: 56.5 kB / 1.336 GB, free: 3.227 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3401, allocations: 0.8411 MB / 1.337 GB, free: 2.305 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.3401, allocations: 4 kB / 1.337 GB, free: 2.301 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.3401, allocations: 23.98 kB / 1.337 GB, free: 2.277 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002044/0.3404, allocations: 64.95 kB / 1.337 GB, free: 2.215 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009383/0.3413, allocations: 0.5696 MB / 1.338 GB, free: 1.645 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004837/0.3461, allocations: 4.578 MB / 1.342 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.3466, allocations: 275.3 kB / 1.343 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.347, allocations: 213.3 kB / 1.343 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.347, allocations: 4.281 kB / 1.343 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.347, allocations: 34.83 kB / 1.343 GB, free: 12.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/0.347, allocations: 0 / 1.343 GB, free: 12.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.006104/0.3531, allocations: 2.647 MB / 1.345 GB, free: 9.406 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3532, allocations: 55.41 kB / 1.345 GB, free: 9.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.3537, allocations: 466 kB / 1.346 GB, free: 8.871 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.3538, allocations: 33.7 kB / 1.346 GB, free: 8.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.354, allocations: 356.4 kB / 1.346 GB, free: 8.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3542, allocations: 146.8 kB / 1.346 GB, free: 8.336 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.3544, allocations: 106.2 kB / 1.346 GB, free: 8.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3545, allocations: 362.8 kB / 1.347 GB, free: 7.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.3549, allocations: 241 kB / 1.347 GB, free: 7.629 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.3554, allocations: 402.5 kB / 1.347 GB, free: 7.156 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/0.3564, allocations: 0.674 MB / 1.348 GB, free: 6.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3564, allocations: 7.938 kB / 1.348 GB, free: 6.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001821/0.3582, allocations: 0.9138 MB / 1.349 GB, free: 5.473 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3582, allocations: 8 kB / 1.349 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3582, allocations: 4 kB / 1.349 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008597/0.3591, allocations: 226.7 kB / 1.349 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.3596, allocations: 111.8 kB / 1.349 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005723/0.3653, allocations: 5.336 MB / 1.355 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.3658, allocations: 35.97 kB / 1.355 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.3659, allocations: 27.98 kB / 1.355 GB, free: 15.3 MB / 1.061 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.0003141/0.3662, allocations: 225.6 kB / 1.355 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3663, allocations: 67.56 kB / 1.355 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.3679, allocations: 0.7619 MB / 1.356 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3679, allocations: 4 kB / 1.356 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.368, allocations: 4 kB / 1.356 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.368, allocations: 7.922 kB / 1.356 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.3705, allocations: 1.49 MB / 1.357 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3705, allocations: 0 / 1.357 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3709, allocations: 68.05 kB / 1.357 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007419/0.3717, allocations: 214.4 kB / 1.357 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.3717, allocations: 8 kB / 1.357 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.3772, allocations: 5.27 MB / 1.363 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3772, allocations: 0 / 1.363 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.3792, allocations: 1.128 MB / 1.364 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.3794, allocations: 184.5 kB / 1.364 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.3795, allocations: 11.94 kB / 1.364 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.3799, allocations: 23.97 kB / 1.364 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.38, allocations: 35.95 kB / 1.364 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.38, allocations: 12 kB / 1.364 GB, free: 5.195 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003779/0.3804, allocations: 314.9 kB / 1.364 GB, free: 4.891 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3804, allocations: 4.062 kB / 1.364 GB, free: 4.887 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006888/0.381, allocations: 172 kB / 1.364 GB, free: 4.719 MB / 1.061 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.002394/0.3834, allocations: 1.695 MB / 1.366 GB, free: 2.965 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.3852, allocations: 0.9615 MB / 1.367 GB, free: 1.965 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3852, allocations: 4.125 kB / 1.367 GB, free: 1.961 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.3863, allocations: 0.6757 MB / 1.368 GB, free: 1.246 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.3873, allocations: 181.4 kB / 1.368 GB, free: 1.074 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/0.3958, allocations: 5.63 MB / 1.373 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.3965, allocations: 0.9533 MB / 1.374 GB, free: 10.17 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003626/0.3968, allocations: 117 kB / 1.374 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.3971, allocations: 215.4 kB / 1.375 GB, free: 9.844 MB / 1.076 GB Notification: Performance of SimCode: time 1.142e-06/0.3971, allocations: 4 kB / 1.375 GB, free: 9.84 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05127/0.4484, allocations: 14.31 MB / 1.389 GB, free: 11.85 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.88, allocations: 4.391 kB / 1.389 GB, free: 11.84 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.46711219707504]