Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001197/0.001197, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001312/0.001312, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 179] 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 2.84/2.84, allocations: 0.49 GB / 0.7959 GB, free: 33.38 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.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",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.001827/0.001827, allocations: 68.81 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2776, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1796/0.4572, allocations: 172.1 MB / 1.495 GB, free: 5.227 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.4787, allocations: 17.74 MB / 1.512 GB, free: 3.434 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.4799, allocations: 43.62 kB / 1.512 GB, free: 3.391 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.4814, allocations: 0.5973 MB / 1.513 GB, free: 2.789 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.4856, allocations: 1.848 MB / 1.514 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.4888, allocations: 1.5 MB / 1.516 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003014/0.4918, allocations: 2.898 MB / 1.519 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.4938, allocations: 1.594 MB / 1.52 GB, free: 10.89 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004076/0.4979, allocations: 1.52 MB / 1.522 GB, free: 9.414 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.4997, allocations: 1.152 MB / 1.523 GB, free: 8.258 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.5001, allocations: 220 kB / 1.523 GB, free: 8.043 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.5033, allocations: 1.665 MB / 1.525 GB, free: 6.375 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.504, allocations: 0.8139 MB / 1.526 GB, free: 5.559 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.5053, allocations: 1.279 MB / 1.527 GB, free: 4.273 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.5104, allocations: 3.79 MB / 1.53 GB, free: 480 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.5104, allocations: 0 / 1.53 GB, free: 480 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5104, allocations: 0 / 1.53 GB, free: 480 kB / 1.217 GB Notification: Performance of Transformations before backend: time 5.821e-05/0.5104, allocations: 0 / 1.53 GB, free: 480 kB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005416/0.5158, allocations: 2.958 MB / 1.533 GB, free: 13.46 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5159, allocations: 12.03 kB / 1.533 GB, free: 13.45 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.343e-05/0.5159, allocations: 43.38 kB / 1.533 GB, free: 13.4 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002749/0.5162, allocations: 248.9 kB / 1.534 GB, free: 13.15 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/0.5203, allocations: 0.6345 MB / 1.534 GB, free: 12.51 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0043/0.5246, allocations: 3.358 MB / 1.538 GB, free: 9.117 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.5247, allocations: 127.4 kB / 1.538 GB, free: 8.992 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.5249, allocations: 171.9 kB / 1.538 GB, free: 8.824 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.5282, allocations: 1.94 MB / 1.54 GB, free: 6.832 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.5283, allocations: 0 / 1.54 GB, free: 6.832 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.5284, allocations: 72 kB / 1.54 GB, free: 6.762 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.5285, allocations: 44 kB / 1.54 GB, free: 6.719 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/0.5319, allocations: 2.089 MB / 1.542 GB, free: 4.625 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009589/0.5415, allocations: 6.698 MB / 1.548 GB, free: 13.53 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.5446, allocations: 1.714 MB / 1.55 GB, free: 11.82 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.5458, allocations: 0.7061 MB / 1.551 GB, free: 11.11 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/0.5463, allocations: 125.2 kB / 1.551 GB, free: 10.98 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.548, allocations: 0.9973 MB / 1.552 GB, free: 9.969 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 2.876e-06/0.548, allocations: 0 / 1.552 GB, free: 9.969 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.006463/0.5545, allocations: 2.597 MB / 1.554 GB, free: 7.348 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.5546, allocations: 197.2 kB / 1.555 GB, free: 7.113 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004546/0.5591, allocations: 4.085 MB / 1.559 GB, free: 3.023 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.5593, allocations: 65.64 kB / 1.559 GB, free: 2.953 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007827/0.5601, allocations: 0.9076 MB / 1.56 GB, free: 2.035 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/0.5605, allocations: 0.4919 MB / 1.56 GB, free: 1.539 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003957/0.5609, allocations: 238.8 kB / 1.56 GB, free: 1.301 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5611, allocations: 353.9 kB / 1.561 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.5622, allocations: 0.5726 MB / 1.561 GB, free: 384 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.5635, allocations: 0.7852 MB / 1.562 GB, free: 15.52 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.5658, allocations: 1.314 MB / 1.563 GB, free: 14.2 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5658, allocations: 0 / 1.563 GB, free: 14.2 MB / 1.264 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003825/0.5696, allocations: 1.78 MB / 1.565 GB, free: 12.39 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5696, allocations: 4 kB / 1.565 GB, free: 12.39 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5696, allocations: 7.984 kB / 1.565 GB, free: 12.38 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.5707, allocations: 216.2 kB / 1.565 GB, free: 12.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.5721, allocations: 323.6 kB / 1.565 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/0.5782, allocations: 6.814 MB / 1.572 GB, free: 4.453 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.5797, allocations: 171.3 kB / 1.572 GB, free: 4.285 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.5798, allocations: 51.91 kB / 1.572 GB, free: 4.234 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008998/0.5807, allocations: 485.5 kB / 1.573 GB, free: 3.75 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/0.5811, allocations: 202.7 kB / 1.573 GB, free: 3.551 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/0.5854, allocations: 2.138 MB / 1.575 GB, free: 1.387 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5854, allocations: 19.92 kB / 1.575 GB, free: 1.367 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5854, allocations: 4 kB / 1.575 GB, free: 1.363 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5854, allocations: 7.969 kB / 1.575 GB, free: 1.355 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00675/0.5922, allocations: 4.072 MB / 1.579 GB, free: 13.21 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5922, allocations: 0 / 1.579 GB, free: 13.21 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.5935, allocations: 319.5 kB / 1.579 GB, free: 12.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008757/0.5944, allocations: 204.1 kB / 1.58 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/0.5945, allocations: 43.97 kB / 1.58 GB, free: 12.64 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005834/0.6003, allocations: 6.85 MB / 1.586 GB, free: 5.203 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6003, allocations: 0 / 1.586 GB, free: 5.203 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.6044, allocations: 2.01 MB / 1.588 GB, free: 3.16 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009101/0.6053, allocations: 462 kB / 1.589 GB, free: 2.707 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.6056, allocations: 31.94 kB / 1.589 GB, free: 2.676 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6067, allocations: 97.78 kB / 1.589 GB, free: 2.582 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.607, allocations: 121.1 kB / 1.589 GB, free: 2.465 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.6071, allocations: 79.94 kB / 1.589 GB, free: 2.387 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003257/0.6104, allocations: 3.132 MB / 1.592 GB, free: 15.25 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.6104, allocations: 0 / 1.592 GB, free: 15.25 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001632/0.612, allocations: 0.6898 MB / 1.593 GB, free: 14.56 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006155/0.6182, allocations: 3.215 MB / 1.596 GB, free: 11.49 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.6214, allocations: 1.992 MB / 1.598 GB, free: 9.434 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.6214, allocations: 4.656 kB / 1.598 GB, free: 9.43 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.6234, allocations: 1.371 MB / 1.599 GB, free: 7.992 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.6256, allocations: 0.5443 MB / 1.6 GB, free: 7.469 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5459/1.171, allocations: 20.9 MB / 1.62 GB, free: 270.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009738/1.172, allocations: 1.53 MB / 1.622 GB, free: 269.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001538/1.174, allocations: 0.5272 MB / 1.622 GB, free: 269.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000966/1.175, allocations: 0.9115 MB / 1.623 GB, free: 269.2 MB / 1.295 GB Notification: Performance of SimCode: time 5.61e-07/1.175, allocations: 0 / 1.623 GB, free: 269.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0855/1.26, allocations: 50.56 MB / 1.672 GB, free: 235.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.85, allocations: 13.25 kB / 1.672 GB, free: 235.5 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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: 23.15628521499457]