Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 102.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 3.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 497.2 MB / 0.7811 GB, free: 12.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.89 kB / 1.134 GB, free: 13.24 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9704/0.9725, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009948/0.9825, allocations: 11.05 MB / 1.315 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.9935, allocations: 8.903 MB / 1.323 GB, free: 18.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.9955, allocations: 54.66 kB / 1.324 GB, free: 18.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.9997, allocations: 1.698 MB / 1.325 GB, free: 17.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004883/1.005, allocations: 1.57 MB / 1.327 GB, free: 16.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/1.007, allocations: 0.66 MB / 1.327 GB, free: 16.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003167/1.01, allocations: 2.281 MB / 1.33 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/1.012, allocations: 1.096 MB / 1.331 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/1.014, allocations: 1.01 MB / 1.332 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/1.015, allocations: 1.076 MB / 1.333 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003287/1.016, allocations: 137.5 kB / 1.333 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/1.018, allocations: 0.8176 MB / 1.334 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007569/1.018, allocations: 0.5788 MB / 1.334 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/1.02, allocations: 0.8817 MB / 1.335 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005053/1.025, allocations: 2.578 MB / 1.338 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.025, allocations: 0 / 1.338 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/1.025, allocations: 0 / 1.338 GB, free: 11.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.609e-05/1.025, allocations: 0 / 1.338 GB, free: 11.68 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004454/1.03, allocations: 2.076 MB / 1.34 GB, free: 10.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.03, allocations: 14.03 kB / 1.34 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/1.03, allocations: 189.8 kB / 1.34 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/1.041, allocations: 2.06 MB / 1.342 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/1.044, allocations: 1.219 MB / 1.343 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.464e-05/1.044, allocations: 85.41 kB / 1.343 GB, free: 9.344 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003687/1.045, allocations: 119.8 kB / 1.343 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005919/1.051, allocations: 2.486 MB / 1.346 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/1.051, allocations: 6.656 kB / 1.346 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/1.051, allocations: 55.64 kB / 1.346 GB, free: 8.246 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003717/1.051, allocations: 128.1 kB / 1.346 GB, free: 8.234 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007047/1.058, allocations: 2.536 MB / 1.348 GB, free: 7.617 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/1.073, allocations: 10.04 MB / 1.358 GB, free: 304 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005942/1.079, allocations: 1.918 MB / 1.36 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/1.081, allocations: 0.9474 MB / 1.361 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/1.081, allocations: 5.5 kB / 1.361 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.081, allocations: 41.59 kB / 1.361 GB, free: 15.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/1.081, allocations: 1.25 kB / 1.361 GB, free: 15.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03232/1.114, allocations: 8.709 MB / 1.369 GB, free: 13.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.114, allocations: 73.47 kB / 1.369 GB, free: 13.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.116, allocations: 1.096 MB / 1.371 GB, free: 13.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/1.116, allocations: 42.31 kB / 1.371 GB, free: 12.99 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006788/1.117, allocations: 0.7499 MB / 1.371 GB, free: 12.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/1.117, allocations: 289.7 kB / 1.372 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004421/1.117, allocations: 200.6 kB / 1.372 GB, free: 12.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.118, allocations: 344.6 kB / 1.372 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002964/1.121, allocations: 1.077 MB / 1.373 GB, free: 11.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003149/1.124, allocations: 1.306 MB / 1.374 GB, free: 10.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006056/1.13, allocations: 2.38 MB / 1.377 GB, free: 10 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.13, allocations: 2.344 kB / 1.377 GB, free: 10 MB / 1.076 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009299/1.139, allocations: 3.26 MB / 1.38 GB, free: 8.953 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.139, allocations: 8.781 kB / 1.38 GB, free: 8.953 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/1.139, allocations: 7.859 kB / 1.38 GB, free: 8.953 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/1.142, allocations: 0.7913 MB / 1.381 GB, free: 8.707 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.144, allocations: 419.4 kB / 1.381 GB, free: 8.688 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/1.162, allocations: 15.92 MB / 1.397 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.165, allocations: 291.8 kB / 1.397 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/1.165, allocations: 58.36 kB / 1.397 GB, free: 10.54 MB / 1.092 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.001014/1.166, allocations: 407 kB / 1.397 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/1.166, allocations: 151.2 kB / 1.398 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008907/1.175, allocations: 3.177 MB / 1.401 GB, free: 8.328 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/1.175, allocations: 8.312 kB / 1.401 GB, free: 8.328 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/1.175, allocations: 7.5 kB / 1.401 GB, free: 8.328 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.175, allocations: 3.984 kB / 1.401 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/1.188, allocations: 4.881 MB / 1.405 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.188, allocations: 1.969 kB / 1.405 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.189, allocations: 356.3 kB / 1.406 GB, free: 5.141 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/1.192, allocations: 0.6996 MB / 1.406 GB, free: 4.754 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/1.192, allocations: 35.22 kB / 1.406 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/1.209, allocations: 15.54 MB / 1.422 GB, free: 6.543 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.209, allocations: 3.969 kB / 1.422 GB, free: 6.543 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008407/1.218, allocations: 3.019 MB / 1.425 GB, free: 4.781 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.219, allocations: 391.5 kB / 1.425 GB, free: 4.473 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/1.219, allocations: 18.56 kB / 1.425 GB, free: 4.461 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.221, allocations: 296 kB / 1.425 GB, free: 4.32 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/1.221, allocations: 78.52 kB / 1.425 GB, free: 4.277 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.221, allocations: 39.66 kB / 1.425 GB, free: 4.262 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001181/1.223, allocations: 0.7434 MB / 1.426 GB, free: 3.848 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.223, allocations: 0 / 1.426 GB, free: 3.848 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001922/1.225, allocations: 430.5 kB / 1.427 GB, free: 3.812 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008577/1.233, allocations: 3.582 MB / 1.43 GB, free: 1.516 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008698/1.242, allocations: 3.52 MB / 1.433 GB, free: 15.26 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.242, allocations: 5 kB / 1.433 GB, free: 15.25 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005021/1.247, allocations: 2.326 MB / 1.436 GB, free: 13.07 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.25, allocations: 0.5202 MB / 1.436 GB, free: 12.57 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/1.285, allocations: 15.82 MB / 1.452 GB, free: 12.32 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.287, allocations: 1.38 MB / 1.453 GB, free: 10.9 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001575/1.288, allocations: 379.9 kB / 1.453 GB, free: 10.53 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009083/1.289, allocations: 0.5969 MB / 1.454 GB, free: 9.93 MB / 1.139 GB Notification: Performance of SimCode: time 1.243e-06/1.289, allocations: 0 / 1.454 GB, free: 9.93 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1545/1.444, allocations: 41.76 MB / 1.495 GB, free: 0.75 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/16.08, allocations: 7.984 kB / 1.495 GB, free: 0.7422 MB / 1.17 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 22.385382612701505]