Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001322/0.001322, 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.001514/0.001514, 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.063/3.063, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_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.001918/0.001918, allocations: 62.92 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3217, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1724/0.4941, allocations: 148.2 MB / 1.49 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02171/0.5158, allocations: 16.16 MB / 1.506 GB, free: 10.9 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.5172, allocations: 39.62 kB / 1.506 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.5187, allocations: 0.5622 MB / 1.506 GB, free: 10.29 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.5234, allocations: 1.841 MB / 1.508 GB, free: 8.449 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.5269, allocations: 1.462 MB / 1.51 GB, free: 7 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003526/0.5304, allocations: 2.902 MB / 1.512 GB, free: 4.09 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.5326, allocations: 1.602 MB / 1.514 GB, free: 2.434 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/0.5366, allocations: 1.511 MB / 1.516 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.5382, allocations: 1.153 MB / 1.517 GB, free: 15.81 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.5386, allocations: 224 kB / 1.517 GB, free: 15.59 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.5416, allocations: 1.486 MB / 1.518 GB, free: 14.1 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000772/0.5423, allocations: 0.8101 MB / 1.519 GB, free: 13.29 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.5436, allocations: 1.054 MB / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004999/0.5486, allocations: 3.798 MB / 1.524 GB, free: 8.418 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.5486, allocations: 4 kB / 1.524 GB, free: 8.414 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5486, allocations: 4 kB / 1.524 GB, free: 8.41 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.295e-05/0.5486, allocations: 0 / 1.524 GB, free: 8.41 MB / 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.005178/0.5538, allocations: 2.942 MB / 1.527 GB, free: 5.414 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.5539, allocations: 8.031 kB / 1.527 GB, free: 5.406 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.025e-05/0.5539, allocations: 51.31 kB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003279/0.5543, allocations: 244.9 kB / 1.527 GB, free: 5.105 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.5589, allocations: 0.6345 MB / 1.528 GB, free: 4.469 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.5635, allocations: 3.37 MB / 1.531 GB, free: 1.062 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.5636, allocations: 131.4 kB / 1.531 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/0.5638, allocations: 171.9 kB / 1.531 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.5678, allocations: 2.697 MB / 1.534 GB, free: 13.83 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.5678, allocations: 4 kB / 1.534 GB, free: 13.83 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.568, allocations: 79.94 kB / 1.534 GB, free: 13.75 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.568, allocations: 44 kB / 1.534 GB, free: 13.71 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.5716, allocations: 2.085 MB / 1.536 GB, free: 11.62 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009315/0.5809, allocations: 4.96 MB / 1.541 GB, free: 6.57 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.5841, allocations: 1.7 MB / 1.542 GB, free: 4.867 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.5853, allocations: 0.7021 MB / 1.543 GB, free: 4.16 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004341/0.5858, allocations: 117.2 kB / 1.543 GB, free: 4.047 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002097/0.5879, allocations: 1.604 MB / 1.545 GB, free: 2.277 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.507e-06/0.5879, allocations: 4 kB / 1.545 GB, free: 2.273 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006712/0.5946, allocations: 2.59 MB / 1.547 GB, free: 15.66 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.5947, allocations: 197.2 kB / 1.548 GB, free: 15.43 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005091/0.5998, allocations: 4.089 MB / 1.552 GB, free: 11.33 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003315/0.6001, allocations: 53.7 kB / 1.552 GB, free: 11.27 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008653/0.601, allocations: 0.9154 MB / 1.553 GB, free: 10.35 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005332/0.6015, allocations: 0.4918 MB / 1.553 GB, free: 9.852 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.602, allocations: 238.8 kB / 1.553 GB, free: 9.613 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6021, allocations: 353.9 kB / 1.554 GB, free: 9.262 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.6033, allocations: 0.5686 MB / 1.554 GB, free: 8.691 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.6048, allocations: 1.228 MB / 1.555 GB, free: 7.293 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.6072, allocations: 1.306 MB / 1.557 GB, free: 5.98 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6072, allocations: 0 / 1.557 GB, free: 5.98 MB / 1.248 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00402/0.6112, allocations: 1.784 MB / 1.558 GB, free: 4.172 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6112, allocations: 4 kB / 1.558 GB, free: 4.168 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6112, allocations: 4 kB / 1.558 GB, free: 4.164 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.6123, allocations: 212.2 kB / 1.559 GB, free: 3.941 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.6138, allocations: 323.6 kB / 1.559 GB, free: 3.625 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.6201, allocations: 6.796 MB / 1.565 GB, free: 12.26 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.6218, allocations: 163.2 kB / 1.566 GB, free: 12.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.6219, allocations: 51.91 kB / 1.566 GB, free: 12.05 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.0009528/0.6228, allocations: 485.5 kB / 1.566 GB, free: 11.56 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/0.6233, allocations: 202.7 kB / 1.566 GB, free: 11.36 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.6277, allocations: 2.138 MB / 1.568 GB, free: 9.195 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.6278, allocations: 12 kB / 1.568 GB, free: 9.184 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6278, allocations: 4 kB / 1.568 GB, free: 9.18 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.6278, allocations: 7.969 kB / 1.568 GB, free: 9.172 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007033/0.6348, allocations: 3.819 MB / 1.572 GB, free: 5.281 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.6348, allocations: 3.938 kB / 1.572 GB, free: 5.277 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.6363, allocations: 307.6 kB / 1.572 GB, free: 4.977 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009104/0.6372, allocations: 208.1 kB / 1.573 GB, free: 4.758 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.6373, allocations: 43.97 kB / 1.573 GB, free: 4.715 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006172/0.6435, allocations: 6.816 MB / 1.579 GB, free: 13.31 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6435, allocations: 0 / 1.579 GB, free: 13.31 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.6479, allocations: 2.01 MB / 1.581 GB, free: 11.27 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.649, allocations: 458.1 kB / 1.582 GB, free: 10.82 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.6493, allocations: 35.92 kB / 1.582 GB, free: 10.79 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.6506, allocations: 108.5 kB / 1.582 GB, free: 10.68 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.6508, allocations: 121.1 kB / 1.582 GB, free: 10.57 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.651, allocations: 67.95 kB / 1.582 GB, free: 10.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003563/0.6546, allocations: 3.136 MB / 1.585 GB, free: 7.371 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.6546, allocations: 0 / 1.585 GB, free: 7.371 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002015/0.6566, allocations: 0.6937 MB / 1.586 GB, free: 6.676 MB / 1.279 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.006711/0.6633, allocations: 3.249 MB / 1.589 GB, free: 3.598 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003521/0.6668, allocations: 2 MB / 1.591 GB, free: 1.531 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.6668, allocations: 4.656 kB / 1.591 GB, free: 1.527 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.669, allocations: 1.356 MB / 1.592 GB, free: 108 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.6715, allocations: 0.5508 MB / 1.593 GB, free: 15.57 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6237/1.295, allocations: 20.89 MB / 1.613 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.297, allocations: 0.9556 MB / 1.614 GB, free: 255.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002029/1.299, allocations: 0.526 MB / 1.615 GB, free: 255.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.3, allocations: 0.9148 MB / 1.616 GB, free: 255.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.072e-06/1.3, allocations: 0 / 1.616 GB, free: 255.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09735/1.397, allocations: 52.62 MB / 1.667 GB, free: 227 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/18.02, allocations: 6.25 kB / 1.667 GB, free: 227 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 24.819867018028162]