Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001402/0.001402, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001573/0.001573, allocations: 217.9 kB / 22.25 MB, free: 5.125 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 179] 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 2.944/2.944, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001853/0.001853, allocations: 70.2 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2891, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1924/0.4815, allocations: 180 MB / 1.529 GB, free: 3.762 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02044/0.5019, allocations: 16.17 MB / 1.544 GB, free: 3.535 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.5031, allocations: 43.62 kB / 1.544 GB, free: 3.492 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.5046, allocations: 0.6401 MB / 1.545 GB, free: 2.848 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.5084, allocations: 1.681 MB / 1.547 GB, free: 1.16 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.5122, allocations: 1.75 MB / 1.548 GB, free: 15.42 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003217/0.5154, allocations: 2.959 MB / 1.551 GB, free: 12.45 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.5173, allocations: 1.502 MB / 1.553 GB, free: 10.89 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.5211, allocations: 1.686 MB / 1.554 GB, free: 9.234 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.5224, allocations: 1.085 MB / 1.555 GB, free: 8.145 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.5227, allocations: 200 kB / 1.556 GB, free: 7.949 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.5252, allocations: 1.466 MB / 1.557 GB, free: 6.48 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005196/0.5257, allocations: 0.5802 MB / 1.558 GB, free: 5.898 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009706/0.5267, allocations: 1.05 MB / 1.559 GB, free: 4.844 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003586/0.5303, allocations: 3.121 MB / 1.562 GB, free: 1.711 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5303, allocations: 7.938 kB / 1.562 GB, free: 1.703 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5303, allocations: 0 / 1.562 GB, free: 1.703 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.5303, allocations: 0 / 1.562 GB, free: 1.703 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003888/0.5342, allocations: 2.346 MB / 1.564 GB, free: 15.31 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5342, allocations: 8.031 kB / 1.564 GB, free: 15.3 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.5345, allocations: 244.3 kB / 1.564 GB, free: 15.05 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.5387, allocations: 0.6074 MB / 1.565 GB, free: 14.44 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.5406, allocations: 1.085 MB / 1.566 GB, free: 13.31 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.5407, allocations: 119.2 kB / 1.566 GB, free: 13.2 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.5409, allocations: 163.9 kB / 1.566 GB, free: 13.04 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.544, allocations: 1.851 MB / 1.568 GB, free: 11.11 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.544, allocations: 0 / 1.568 GB, free: 11.11 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.5441, allocations: 68 kB / 1.568 GB, free: 11.04 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/0.5442, allocations: 47.98 kB / 1.568 GB, free: 10.99 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/0.5477, allocations: 1.873 MB / 1.57 GB, free: 9.113 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008439/0.5561, allocations: 6.341 MB / 1.576 GB, free: 2.371 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.5591, allocations: 1.391 MB / 1.578 GB, free: 0.9766 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.5603, allocations: 0.5716 MB / 1.578 GB, free: 416 kB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.5606, allocations: 92.91 kB / 1.578 GB, free: 324 kB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001606/0.5622, allocations: 0.8674 MB / 1.579 GB, free: 15.43 MB / 1.279 GB Notification: Performance of pre-optimization done (n=126): time 2.295e-06/0.5622, allocations: 0 / 1.579 GB, free: 15.43 MB / 1.279 GB Notification: Performance of matching and sorting (n=126): time 0.005143/0.5674, allocations: 1.957 MB / 1.581 GB, free: 13.46 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.5675, allocations: 200.9 kB / 1.581 GB, free: 13.22 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.5689, allocations: 1.024 MB / 1.582 GB, free: 12.18 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.569, allocations: 49.7 kB / 1.582 GB, free: 12.12 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006688/0.5697, allocations: 0.6855 MB / 1.583 GB, free: 11.43 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/0.5701, allocations: 440.1 kB / 1.583 GB, free: 11 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.5705, allocations: 218.8 kB / 1.583 GB, free: 10.78 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5707, allocations: 349.9 kB / 1.584 GB, free: 10.43 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.5718, allocations: 482.3 kB / 1.584 GB, free: 9.961 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.573, allocations: 0.6405 MB / 1.585 GB, free: 9.27 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.5752, allocations: 1.101 MB / 1.586 GB, free: 8.145 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5752, allocations: 8 kB / 1.586 GB, free: 8.137 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003332/0.5785, allocations: 1.41 MB / 1.587 GB, free: 6.715 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5785, allocations: 4 kB / 1.587 GB, free: 6.711 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5786, allocations: 4.078 kB / 1.587 GB, free: 6.707 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/0.5791, allocations: 80.94 kB / 1.587 GB, free: 6.625 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.5806, allocations: 303.5 kB / 1.588 GB, free: 6.328 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.5826, allocations: 1.548 MB / 1.589 GB, free: 4.66 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.5838, allocations: 157.3 kB / 1.589 GB, free: 4.508 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/0.5839, allocations: 47.97 kB / 1.589 GB, free: 4.461 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006646/0.5846, allocations: 381.5 kB / 1.59 GB, free: 4.078 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.5849, allocations: 147 kB / 1.59 GB, free: 3.934 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.5887, allocations: 1.712 MB / 1.592 GB, free: 2.203 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.5887, allocations: 19.94 kB / 1.592 GB, free: 2.184 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5887, allocations: 0 / 1.592 GB, free: 2.184 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.5887, allocations: 7.969 kB / 1.592 GB, free: 2.176 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005866/0.5946, allocations: 3.32 MB / 1.595 GB, free: 14.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5946, allocations: 3.938 kB / 1.595 GB, free: 14.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.5959, allocations: 283.6 kB / 1.595 GB, free: 14.52 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.5964, allocations: 80.72 kB / 1.595 GB, free: 14.44 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.5965, allocations: 35.97 kB / 1.595 GB, free: 14.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.5983, allocations: 1.574 MB / 1.597 GB, free: 12.71 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5983, allocations: 3.938 kB / 1.597 GB, free: 12.71 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004787/0.6031, allocations: 2.355 MB / 1.599 GB, free: 10.33 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007562/0.6039, allocations: 338.6 kB / 1.599 GB, free: 10 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.6041, allocations: 24 kB / 1.599 GB, free: 9.977 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.6053, allocations: 104 kB / 1.6 GB, free: 9.875 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.6055, allocations: 101.1 kB / 1.6 GB, free: 9.777 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.6056, allocations: 63.94 kB / 1.6 GB, free: 9.715 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009755/0.6066, allocations: 0.7043 MB / 1.6 GB, free: 9.004 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/0.6066, allocations: 0 / 1.6 GB, free: 9.004 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001252/0.6079, allocations: 0.5571 MB / 1.601 GB, free: 8.445 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006972/0.6148, allocations: 3.487 MB / 1.604 GB, free: 5.109 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.6178, allocations: 1.306 MB / 1.606 GB, free: 3.789 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6178, allocations: 448 / 1.606 GB, free: 3.789 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.6193, allocations: 0.7713 MB / 1.606 GB, free: 3.008 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.6216, allocations: 0.5897 MB / 1.607 GB, free: 2.441 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5366/1.158, allocations: 10.54 MB / 1.617 GB, free: 251.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000846/1.159, allocations: 1.31 MB / 1.619 GB, free: 250.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001489/1.161, allocations: 441.5 kB / 1.619 GB, free: 250.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008359/1.161, allocations: 0.6772 MB / 1.62 GB, free: 250 MB / 1.295 GB Notification: Performance of SimCode: time 7.42e-07/1.161, allocations: 3.281 kB / 1.62 GB, free: 250 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08038/1.242, allocations: 39.72 MB / 1.658 GB, free: 233.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.49, allocations: 4.312 kB / 1.658 GB, free: 233.9 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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: 21.761960826115683]