Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001633/0.001633, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001968/0.001968, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.213/3.213, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",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.001964/0.001964, allocations: 63.25 kB / 1.17 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3474, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009784/0.3572, allocations: 6.485 MB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.363, allocations: 3.021 MB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.3637, allocations: 35.69 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.3665, allocations: 0.9554 MB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.368, allocations: 0.5245 MB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3692, allocations: 422 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.371, allocations: 1.229 MB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.372, allocations: 0.5411 MB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009398/0.373, allocations: 494.2 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.3741, allocations: 0.5526 MB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.3743, allocations: 64 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008777/0.3752, allocations: 347.3 kB / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004319/0.3756, allocations: 319.1 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.3762, allocations: 378.2 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.378, allocations: 1.218 MB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.378, allocations: 0 / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.378, allocations: 4 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.309e-05/0.378, allocations: 0 / 1.361 GB, free: 15.37 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002475/0.3805, allocations: 1.104 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3806, allocations: 12.03 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.2e-05/0.3806, allocations: 17.5 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.3808, allocations: 118.7 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.3825, allocations: 240.1 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3836, allocations: 0.5269 MB / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.3836, allocations: 53.61 kB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.3838, allocations: 64.36 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.3857, allocations: 1.332 MB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.3857, allocations: 15.89 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.3858, allocations: 31.98 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.386, allocations: 85.25 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3873, allocations: 0.7504 MB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005698/0.393, allocations: 4.639 MB / 1.37 GB, free: 5.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3941, allocations: 0.5091 MB / 1.371 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/0.3946, allocations: 286 kB / 1.371 GB, free: 5.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.3946, allocations: 4.438 kB / 1.371 GB, free: 5.176 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.3947, allocations: 39 kB / 1.371 GB, free: 5.129 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 3.767e-06/0.3947, allocations: 0 / 1.371 GB, free: 5.129 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.004127/0.3988, allocations: 1.679 MB / 1.373 GB, free: 3.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.3988, allocations: 63.78 kB / 1.373 GB, free: 3.355 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.3996, allocations: 0.5548 MB / 1.373 GB, free: 2.793 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.3996, allocations: 33.7 kB / 1.373 GB, free: 2.754 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.4, allocations: 436 kB / 1.374 GB, free: 2.324 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.4001, allocations: 174.5 kB / 1.374 GB, free: 2.152 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.4004, allocations: 130.5 kB / 1.374 GB, free: 2.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4006, allocations: 378.7 kB / 1.374 GB, free: 1.641 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.401, allocations: 277.8 kB / 1.375 GB, free: 1.371 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.4016, allocations: 496.9 kB / 1.375 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.4028, allocations: 0.8045 MB / 1.376 GB, free: 15.89 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4028, allocations: 0 / 1.376 GB, free: 15.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001985/0.4048, allocations: 1.078 MB / 1.377 GB, free: 14.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.4048, allocations: 8 kB / 1.377 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.4049, allocations: 15.92 kB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009492/0.4058, allocations: 279.5 kB / 1.377 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.4063, allocations: 123.8 kB / 1.377 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007319/0.4136, allocations: 6.682 MB / 1.384 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.4143, allocations: 35.97 kB / 1.384 GB, free: 7.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.213e-05/0.4144, allocations: 35.98 kB / 1.384 GB, free: 7.145 MB / 1.076 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.0004684/0.4149, allocations: 253.7 kB / 1.384 GB, free: 6.887 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.415, allocations: 75.53 kB / 1.384 GB, free: 6.812 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.4167, allocations: 0.8768 MB / 1.385 GB, free: 5.914 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4167, allocations: 4 kB / 1.385 GB, free: 5.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4167, allocations: 4 kB / 1.385 GB, free: 5.906 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4167, allocations: 4 kB / 1.385 GB, free: 5.902 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.4197, allocations: 1.622 MB / 1.387 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4197, allocations: 0 / 1.387 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.4199, allocations: 63.83 kB / 1.387 GB, free: 4.137 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008192/0.4208, allocations: 267.4 kB / 1.387 GB, free: 3.863 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.4208, allocations: 8 kB / 1.387 GB, free: 3.855 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007176/0.428, allocations: 6.682 MB / 1.394 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.428, allocations: 4.031 kB / 1.394 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4297, allocations: 0.9724 MB / 1.395 GB, free: 11.69 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.4301, allocations: 115.5 kB / 1.395 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.4302, allocations: 15.94 kB / 1.395 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.4306, allocations: 31.84 kB / 1.395 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4307, allocations: 51.97 kB / 1.395 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.4308, allocations: 16 kB / 1.395 GB, free: 11.46 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000524/0.4313, allocations: 383.1 kB / 1.395 GB, free: 11.09 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4313, allocations: 0 / 1.395 GB, free: 11.09 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009/0.4322, allocations: 224 kB / 1.395 GB, free: 10.88 MB / 1.092 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.002026/0.4342, allocations: 1.54 MB / 1.397 GB, free: 9.277 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.4364, allocations: 1.228 MB / 1.398 GB, free: 8 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4364, allocations: 128 / 1.398 GB, free: 8 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.4377, allocations: 0.8657 MB / 1.399 GB, free: 7.082 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4389, allocations: 216.5 kB / 1.399 GB, free: 6.875 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/0.4485, allocations: 6.37 MB / 1.405 GB, free: 172 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.4491, allocations: 415.5 kB / 1.406 GB, free: 15.74 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004426/0.4495, allocations: 122 kB / 1.406 GB, free: 15.62 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.4499, allocations: 251.4 kB / 1.406 GB, free: 15.37 MB / 1.107 GB Notification: Performance of SimCode: time 1.183e-06/0.4499, allocations: 0 / 1.406 GB, free: 15.37 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06363/0.5135, allocations: 19.06 MB / 1.425 GB, free: 12.74 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.4, allocations: 7.844 kB / 1.425 GB, free: 12.74 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.408616280998103]