Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001666/0.001666, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00206/0.00206, allocations: 218.8 kB / 22.24 MB, free: 5.254 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.812 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.126/3.126, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_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.002021/0.002021, allocations: 72.69 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 176.1 MB / 1.326 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009291/0.3286, allocations: 6.569 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005658/0.3343, allocations: 3.063 MB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005925/0.3349, allocations: 43.62 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.3376, allocations: 0.9591 MB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.3389, allocations: 0.5168 MB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3399, allocations: 445.9 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3413, allocations: 1.236 MB / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007842/0.3421, allocations: 0.5415 MB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006091/0.3427, allocations: 498.3 kB / 1.339 GB, free: 3.734 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.3435, allocations: 0.5487 MB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3436, allocations: 64 kB / 1.34 GB, free: 3.121 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006545/0.3442, allocations: 347.2 kB / 1.34 GB, free: 2.781 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.3446, allocations: 315.1 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.3451, allocations: 378.2 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.3466, allocations: 1.234 MB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3466, allocations: 0 / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3466, allocations: 4 kB / 1.342 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.3466, allocations: 0 / 1.342 GB, free: 0.8594 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.00204/0.3486, allocations: 1.123 MB / 1.343 GB, free: 15.7 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/0.3487, allocations: 12.03 kB / 1.343 GB, free: 15.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.3489, allocations: 118.7 kB / 1.343 GB, free: 15.56 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.3504, allocations: 240.1 kB / 1.344 GB, free: 15.33 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3515, allocations: 0.5282 MB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.3515, allocations: 49.67 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.3516, allocations: 64.36 kB / 1.344 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3534, allocations: 1.344 MB / 1.346 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.3534, allocations: 11.89 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.3535, allocations: 31.98 kB / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/0.3537, allocations: 85.25 kB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.3549, allocations: 0.7465 MB / 1.346 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00567/0.3606, allocations: 4.655 MB / 1.351 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3616, allocations: 0.5059 MB / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.362, allocations: 282 kB / 1.352 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.362, allocations: 4.438 kB / 1.352 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.3621, allocations: 39 kB / 1.352 GB, free: 6.602 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 3.076e-06/0.3621, allocations: 0 / 1.352 GB, free: 6.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003902/0.366, allocations: 1.686 MB / 1.353 GB, free: 4.898 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.366, allocations: 59.84 kB / 1.353 GB, free: 4.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006568/0.3667, allocations: 0.578 MB / 1.354 GB, free: 4.238 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.3667, allocations: 37.7 kB / 1.354 GB, free: 4.195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.3671, allocations: 428 kB / 1.354 GB, free: 3.773 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.3672, allocations: 178.5 kB / 1.355 GB, free: 3.598 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.3674, allocations: 126.6 kB / 1.355 GB, free: 3.469 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3676, allocations: 378.7 kB / 1.355 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.368, allocations: 281.8 kB / 1.355 GB, free: 2.816 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.3686, allocations: 493.4 kB / 1.356 GB, free: 2.238 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.3697, allocations: 0.8083 MB / 1.357 GB, free: 1.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3697, allocations: 0 / 1.357 GB, free: 1.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001938/0.3717, allocations: 1.082 MB / 1.358 GB, free: 236 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3717, allocations: 8 kB / 1.358 GB, free: 228 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3717, allocations: 8 kB / 1.358 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009344/0.3726, allocations: 275.6 kB / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.3731, allocations: 131.7 kB / 1.358 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006912/0.38, allocations: 6.674 MB / 1.365 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.3806, allocations: 39.95 kB / 1.365 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.3807, allocations: 32 kB / 1.365 GB, free: 8.594 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.0003577/0.3811, allocations: 257.6 kB / 1.365 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3812, allocations: 75.52 kB / 1.365 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.3828, allocations: 0.881 MB / 1.366 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3828, allocations: 8 kB / 1.366 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3828, allocations: 4 kB / 1.366 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.3828, allocations: 8 kB / 1.366 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.3856, allocations: 1.607 MB / 1.367 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3856, allocations: 7.938 kB / 1.367 GB, free: 5.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.3858, allocations: 63.89 kB / 1.368 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007824/0.3866, allocations: 267.3 kB / 1.368 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.3867, allocations: 12 kB / 1.368 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006828/0.3935, allocations: 6.666 MB / 1.374 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.3935, allocations: 3.938 kB / 1.374 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.3952, allocations: 0.9763 MB / 1.375 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.3955, allocations: 115.5 kB / 1.375 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/0.3956, allocations: 15.94 kB / 1.375 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.396, allocations: 35.95 kB / 1.375 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3961, allocations: 47.92 kB / 1.375 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.3961, allocations: 12.19 kB / 1.375 GB, free: 12.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004668/0.3966, allocations: 391.1 kB / 1.376 GB, free: 12.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3966, allocations: 0 / 1.376 GB, free: 12.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008232/0.3974, allocations: 224 kB / 1.376 GB, free: 12.32 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.001938/0.3994, allocations: 1.548 MB / 1.378 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.4016, allocations: 1.228 MB / 1.379 GB, free: 9.434 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4016, allocations: 4.125 kB / 1.379 GB, free: 9.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4029, allocations: 0.8657 MB / 1.38 GB, free: 8.512 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4039, allocations: 224.3 kB / 1.38 GB, free: 8.301 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/0.413, allocations: 6.395 MB / 1.386 GB, free: 1.578 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.4135, allocations: 417 kB / 1.386 GB, free: 1.145 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004103/0.4139, allocations: 133.9 kB / 1.387 GB, free: 1.012 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.4143, allocations: 255.4 kB / 1.387 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of SimCode: time 1.143e-06/0.4143, allocations: 0 / 1.387 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05874/0.473, allocations: 19.6 MB / 1.406 GB, free: 13.59 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.26, allocations: 0 / 1.406 GB, free: 13.59 MB / 1.108 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.96509569400223]