Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.00183/0.00183, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002309/0.002309, allocations: 215.7 kB / 22.24 MB, free: 5.121 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.828 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.037/3.037, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001983/0.001983, allocations: 71.7 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 176.1 MB / 1.325 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01377/0.3219, allocations: 10.34 MB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3357, allocations: 8.503 MB / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.3369, allocations: 87.25 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004688/0.3416, allocations: 1.675 MB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.346, allocations: 1.56 MB / 1.347 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.3477, allocations: 0.6845 MB / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.3509, allocations: 2.283 MB / 1.35 GB, free: 9.211 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.3527, allocations: 1.129 MB / 1.351 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.3547, allocations: 1.192 MB / 1.352 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.3561, allocations: 0.9256 MB / 1.353 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.3563, allocations: 136 kB / 1.353 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.3577, allocations: 0.7329 MB / 1.354 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.3583, allocations: 0.5724 MB / 1.354 GB, free: 4.473 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008136/0.3591, allocations: 0.723 MB / 1.355 GB, free: 3.746 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00317/0.3623, allocations: 2.58 MB / 1.357 GB, free: 1.156 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3623, allocations: 3.938 kB / 1.357 GB, free: 1.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3623, allocations: 0 / 1.357 GB, free: 1.152 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.966e-05/0.3624, allocations: 3.938 kB / 1.357 GB, free: 1.148 MB / 1.045 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.003424/0.3658, allocations: 1.979 MB / 1.359 GB, free: 15.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3658, allocations: 12.03 kB / 1.359 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002402/0.3661, allocations: 182.1 kB / 1.36 GB, free: 14.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.377, allocations: 2.059 MB / 1.362 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.3798, allocations: 1.122 MB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/0.3799, allocations: 82.7 kB / 1.363 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.3802, allocations: 119.9 kB / 1.363 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005961/0.3862, allocations: 2.701 MB / 1.365 GB, free: 8.598 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/0.3862, allocations: 11.95 kB / 1.365 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.3864, allocations: 47.98 kB / 1.366 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003748/0.3867, allocations: 134.1 kB / 1.366 GB, free: 8.406 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00744/0.3942, allocations: 2.545 MB / 1.368 GB, free: 5.852 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.4084, allocations: 7.683 MB / 1.376 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006421/0.4148, allocations: 1.848 MB / 1.377 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002876/0.4177, allocations: 0.9386 MB / 1.378 GB, free: 11.19 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.4177, allocations: 20.42 kB / 1.378 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.4178, allocations: 39 kB / 1.378 GB, free: 11.12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.4178, allocations: 0 / 1.378 GB, free: 11.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03352/0.4513, allocations: 9.114 MB / 1.387 GB, free: 1.961 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.4514, allocations: 64 kB / 1.387 GB, free: 1.887 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.453, allocations: 1.108 MB / 1.388 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.4532, allocations: 45.64 kB / 1.389 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/0.4538, allocations: 0.7514 MB / 1.389 GB, free: 15.95 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.4542, allocations: 297.4 kB / 1.39 GB, free: 15.66 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.4546, allocations: 202.5 kB / 1.39 GB, free: 15.45 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4548, allocations: 341.9 kB / 1.39 GB, free: 15.11 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/0.4579, allocations: 1.083 MB / 1.391 GB, free: 14.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/0.4612, allocations: 1.321 MB / 1.392 GB, free: 12.61 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/0.4676, allocations: 2.405 MB / 1.395 GB, free: 10.11 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4676, allocations: 4 kB / 1.395 GB, free: 10.11 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009364/0.4769, allocations: 3.289 MB / 1.398 GB, free: 6.789 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.477, allocations: 12.16 kB / 1.398 GB, free: 6.777 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.477, allocations: 8 kB / 1.398 GB, free: 6.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003123/0.4801, allocations: 0.8496 MB / 1.399 GB, free: 5.895 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.4821, allocations: 415.3 kB / 1.399 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/0.5002, allocations: 15.2 MB / 1.414 GB, free: 5.371 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.5025, allocations: 295.5 kB / 1.414 GB, free: 5.082 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.5027, allocations: 47.97 kB / 1.414 GB, free: 5.035 MB / 1.108 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.0007288/0.5034, allocations: 403.2 kB / 1.415 GB, free: 4.633 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.5037, allocations: 151.1 kB / 1.415 GB, free: 4.484 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0088/0.5125, allocations: 3.218 MB / 1.418 GB, free: 1.223 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5125, allocations: 12 kB / 1.418 GB, free: 1.211 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.5125, allocations: 8 kB / 1.418 GB, free: 1.203 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.5125, allocations: 3.984 kB / 1.418 GB, free: 1.199 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.5242, allocations: 4.679 MB / 1.423 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.5243, allocations: 8.031 kB / 1.423 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.5259, allocations: 355.3 kB / 1.423 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002676/0.5286, allocations: 0.7677 MB / 1.424 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.5287, allocations: 31.97 kB / 1.424 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/0.5454, allocations: 14.82 MB / 1.438 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5454, allocations: 4 kB / 1.438 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00853/0.554, allocations: 3.064 MB / 1.441 GB, free: 8.34 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.555, allocations: 322.8 kB / 1.442 GB, free: 8.023 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.5552, allocations: 23.94 kB / 1.442 GB, free: 8 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.5571, allocations: 287.5 kB / 1.442 GB, free: 7.719 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.5573, allocations: 84.44 kB / 1.442 GB, free: 7.637 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.5574, allocations: 39.97 kB / 1.442 GB, free: 7.598 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001093/0.5585, allocations: 0.7405 MB / 1.443 GB, free: 6.855 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5585, allocations: 0 / 1.443 GB, free: 6.855 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001463/0.56, allocations: 444 kB / 1.443 GB, free: 6.422 MB / 1.139 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.008871/0.5689, allocations: 3.636 MB / 1.447 GB, free: 2.699 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008714/0.5776, allocations: 3.55 MB / 1.45 GB, free: 15.05 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.5776, allocations: 4 kB / 1.45 GB, free: 15.04 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005157/0.5827, allocations: 2.336 MB / 1.452 GB, free: 12.6 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.5849, allocations: 0.5261 MB / 1.453 GB, free: 12.09 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/0.6215, allocations: 16.25 MB / 1.469 GB, free: 11.41 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009953/0.6225, allocations: 0.802 MB / 1.47 GB, free: 10.57 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00136/0.6238, allocations: 379.8 kB / 1.47 GB, free: 10.19 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000897/0.6247, allocations: 0.6008 MB / 1.471 GB, free: 9.59 MB / 1.17 GB Notification: Performance of SimCode: time 6.81e-07/0.6247, allocations: 0 / 1.471 GB, free: 9.59 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/0.734, allocations: 46.12 MB / 1.516 GB, free: 12.36 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.08, allocations: 8 kB / 1.516 GB, free: 12.35 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.57465293817222]