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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007223/0.007223, allocations: 99.36 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 185.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 64.12 kB / 1.054 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3148, allocations: 157.4 MB / 1.207 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 1.008/1.323, allocations: 168.4 MB / 1.372 GB, free: 300 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02513/1.348, allocations: 17.34 MB / 1.389 GB, free: 3.215 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/1.351, allocations: 31.31 kB / 1.389 GB, free: 3.203 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/1.353, allocations: 0.5677 MB / 1.389 GB, free: 2.719 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007511/1.361, allocations: 1.783 MB / 1.391 GB, free: 1.383 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005827/1.367, allocations: 1.446 MB / 1.392 GB, free: 300 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005881/1.373, allocations: 2.866 MB / 1.395 GB, free: 14.58 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00387/1.377, allocations: 1.944 MB / 1.397 GB, free: 13.29 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005055/1.382, allocations: 1.441 MB / 1.398 GB, free: 12.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/1.384, allocations: 1.113 MB / 1.4 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000995/1.386, allocations: 221.5 kB / 1.4 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/1.39, allocations: 1.554 MB / 1.401 GB, free: 11.02 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/1.392, allocations: 0.8 MB / 1.402 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002639/1.394, allocations: 1.269 MB / 1.403 GB, free: 9.555 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00765/1.402, allocations: 3.721 MB / 1.407 GB, free: 7.004 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.402, allocations: 0 / 1.407 GB, free: 7.004 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.844e-06/1.402, allocations: 5.375 kB / 1.407 GB, free: 7 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001892/1.402, allocations: 0 / 1.407 GB, free: 7 MB / 1.092 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.009319/1.412, allocations: 2.904 MB / 1.41 GB, free: 4.871 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.412, allocations: 10.72 kB / 1.41 GB, free: 4.871 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007191/1.412, allocations: 252.9 kB / 1.41 GB, free: 4.672 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004325/1.417, allocations: 0.5708 MB / 1.411 GB, free: 4.402 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005929/1.423, allocations: 3.425 MB / 1.414 GB, free: 2.535 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/1.423, allocations: 129.9 kB / 1.414 GB, free: 2.477 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004148/1.423, allocations: 165.3 kB / 1.414 GB, free: 2.426 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/1.428, allocations: 1.954 MB / 1.416 GB, free: 1.277 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/1.428, allocations: 0 / 1.416 GB, free: 1.277 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/1.428, allocations: 72 kB / 1.416 GB, free: 1.207 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/1.428, allocations: 48 kB / 1.416 GB, free: 1.16 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/1.432, allocations: 2.089 MB / 1.418 GB, free: 15.07 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/1.445, allocations: 6.535 MB / 1.425 GB, free: 8.188 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/1.449, allocations: 2.093 MB / 1.427 GB, free: 6.02 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/1.451, allocations: 0.7576 MB / 1.427 GB, free: 5.262 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006509/1.451, allocations: 433.6 kB / 1.428 GB, free: 4.766 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002094/1.453, allocations: 1.013 MB / 1.429 GB, free: 3.73 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 6.562e-06/1.453, allocations: 0 / 1.429 GB, free: 3.73 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.007647/1.461, allocations: 2.965 MB / 1.432 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.461, allocations: 197.2 kB / 1.432 GB, free: 428 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/1.467, allocations: 4.052 MB / 1.436 GB, free: 12.36 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/1.467, allocations: 61.7 kB / 1.436 GB, free: 12.29 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008082/1.468, allocations: 0.8866 MB / 1.437 GB, free: 11.39 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/1.468, allocations: 481 kB / 1.437 GB, free: 10.92 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/1.469, allocations: 238.8 kB / 1.438 GB, free: 10.68 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.469, allocations: 361.9 kB / 1.438 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/1.47, allocations: 0.5648 MB / 1.438 GB, free: 9.754 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/1.471, allocations: 0.7969 MB / 1.439 GB, free: 8.891 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/1.474, allocations: 1.31 MB / 1.44 GB, free: 7.574 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/1.474, allocations: 0 / 1.44 GB, free: 7.574 MB / 1.123 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004243/1.478, allocations: 1.772 MB / 1.442 GB, free: 5.777 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.478, allocations: 4 kB / 1.442 GB, free: 5.773 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.478, allocations: 4 kB / 1.442 GB, free: 5.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/1.479, allocations: 216.2 kB / 1.442 GB, free: 5.543 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.481, allocations: 323.5 kB / 1.443 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/1.487, allocations: 7.316 MB / 1.45 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.489, allocations: 162.7 kB / 1.45 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/1.489, allocations: 55.95 kB / 1.45 GB, free: 12.99 MB / 1.139 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.001121/1.49, allocations: 489.4 kB / 1.451 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/1.491, allocations: 189.7 kB / 1.451 GB, free: 12.31 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/1.496, allocations: 2.13 MB / 1.453 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/1.496, allocations: 16 kB / 1.453 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.496, allocations: 0 / 1.453 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.496, allocations: 11.97 kB / 1.453 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007909/1.504, allocations: 4.103 MB / 1.457 GB, free: 5.945 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.504, allocations: 0 / 1.457 GB, free: 5.945 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.505, allocations: 315.6 kB / 1.457 GB, free: 5.637 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009774/1.506, allocations: 216.1 kB / 1.457 GB, free: 5.41 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.506, allocations: 43.95 kB / 1.457 GB, free: 5.367 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006134/1.512, allocations: 7.351 MB / 1.465 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.512, allocations: 0 / 1.465 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/1.517, allocations: 1.997 MB / 1.467 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.519, allocations: 0.5099 MB / 1.467 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005983/1.519, allocations: 32 kB / 1.467 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.521, allocations: 95.91 kB / 1.467 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/1.521, allocations: 121.1 kB / 1.467 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.522, allocations: 67.95 kB / 1.467 GB, free: 10.43 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003852/1.526, allocations: 3.124 MB / 1.47 GB, free: 7.312 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.41e-07/1.526, allocations: 0 / 1.47 GB, free: 7.312 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002739/1.528, allocations: 0.682 MB / 1.471 GB, free: 6.629 MB / 1.154 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.006972/1.535, allocations: 3.205 MB / 1.474 GB, free: 3.582 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003847/1.539, allocations: 2.055 MB / 1.476 GB, free: 1.461 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.539, allocations: 8.5 kB / 1.476 GB, free: 1.453 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/1.541, allocations: 1.418 MB / 1.478 GB, free: 15.97 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/1.545, allocations: 0.5515 MB / 1.478 GB, free: 15.44 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03521/1.58, allocations: 20.75 MB / 1.498 GB, free: 10.44 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/1.582, allocations: 1.53 MB / 1.5 GB, free: 8.883 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002023/1.584, allocations: 0.5329 MB / 1.5 GB, free: 8.344 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.585, allocations: 0.8976 MB / 1.501 GB, free: 7.445 MB / 1.186 GB Notification: Performance of SimCode: time 2.615e-06/1.586, allocations: 0 / 1.501 GB, free: 7.445 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.686, allocations: 49.86 MB / 1.55 GB, free: 6.094 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/18.13, allocations: 11.69 kB / 1.55 GB, free: 6.086 MB / 1.232 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) 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) Reference file matches