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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00735/0.00735, allocations: 100.9 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.001773/0.001773, 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 72.09 kB / 1.054 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3321, allocations: 157.4 MB / 1.207 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.9627/1.295, allocations: 176.2 MB / 1.379 GB, free: 10.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02105/1.316, allocations: 15.65 MB / 1.395 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/1.318, allocations: 35.53 kB / 1.395 GB, free: 14.38 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/1.32, allocations: 0.611 MB / 1.395 GB, free: 13.86 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005272/1.325, allocations: 1.568 MB / 1.397 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00503/1.33, allocations: 1.68 MB / 1.398 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005379/1.336, allocations: 2.904 MB / 1.401 GB, free: 9.676 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/1.339, allocations: 1.855 MB / 1.403 GB, free: 8.461 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004743/1.344, allocations: 1.402 MB / 1.404 GB, free: 7.688 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/1.346, allocations: 1.052 MB / 1.405 GB, free: 6.984 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006548/1.347, allocations: 199.5 kB / 1.406 GB, free: 6.984 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/1.351, allocations: 1.333 MB / 1.407 GB, free: 6.359 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/1.352, allocations: 0.5675 MB / 1.407 GB, free: 5.922 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002458/1.355, allocations: 1.036 MB / 1.408 GB, free: 5.203 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00584/1.361, allocations: 3.019 MB / 1.411 GB, free: 3.109 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.361, allocations: 2.406 kB / 1.411 GB, free: 3.109 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/1.361, allocations: 0 / 1.411 GB, free: 3.109 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001058/1.361, allocations: 0 / 1.411 GB, free: 3.109 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.005449/1.366, allocations: 2.301 MB / 1.414 GB, free: 1.402 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.366, allocations: 14.52 kB / 1.414 GB, free: 1.398 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/1.366, allocations: 238.3 kB / 1.414 GB, free: 1.211 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.369, allocations: 454.8 kB / 1.414 GB, free: 1.008 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/1.371, allocations: 1.151 MB / 1.415 GB, free: 116 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/1.372, allocations: 122.5 kB / 1.416 GB, free: 60 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/1.372, allocations: 154.9 kB / 1.416 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/1.375, allocations: 1.78 MB / 1.417 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/1.375, allocations: 6.719 kB / 1.417 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/1.375, allocations: 69.38 kB / 1.418 GB, free: 14.83 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/1.375, allocations: 54.25 kB / 1.418 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002899/1.378, allocations: 1.768 MB / 1.419 GB, free: 13.97 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.008635/1.387, allocations: 6.157 MB / 1.425 GB, free: 7.461 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/1.389, allocations: 1.561 MB / 1.427 GB, free: 5.844 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.39, allocations: 0.5621 MB / 1.427 GB, free: 5.281 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000922/1.391, allocations: 0.8828 MB / 1.428 GB, free: 4.211 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/1.393, allocations: 0.7933 MB / 1.429 GB, free: 3.398 MB / 1.107 GB Notification: Performance of pre-optimization done (n=126): time 3.256e-06/1.393, allocations: 4 kB / 1.429 GB, free: 3.395 MB / 1.107 GB Notification: Performance of matching and sorting (n=126): time 0.004911/1.398, allocations: 1.887 MB / 1.431 GB, free: 1.48 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.398, allocations: 200.9 kB / 1.431 GB, free: 1.242 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/1.4, allocations: 0.9837 MB / 1.432 GB, free: 248 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/1.4, allocations: 53.7 kB / 1.432 GB, free: 188 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006358/1.4, allocations: 0.6646 MB / 1.433 GB, free: 15.51 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/1.401, allocations: 413.9 kB / 1.433 GB, free: 15.1 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/1.401, allocations: 214.8 kB / 1.433 GB, free: 14.88 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.401, allocations: 345.9 kB / 1.434 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/1.402, allocations: 430.4 kB / 1.434 GB, free: 14.12 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.403, allocations: 0.5975 MB / 1.435 GB, free: 13.47 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/1.405, allocations: 1.011 MB / 1.436 GB, free: 12.44 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.405, allocations: 3.938 kB / 1.436 GB, free: 12.44 MB / 1.123 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003072/1.408, allocations: 1.301 MB / 1.437 GB, free: 11.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.408, allocations: 8 kB / 1.437 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.408, allocations: 3.984 kB / 1.437 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/1.409, allocations: 88.92 kB / 1.437 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.41, allocations: 279.6 kB / 1.437 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/1.413, allocations: 1.656 MB / 1.439 GB, free: 8.953 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.414, allocations: 135 kB / 1.439 GB, free: 8.82 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.414, allocations: 47.97 kB / 1.439 GB, free: 8.773 MB / 1.123 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.0007678/1.415, allocations: 381.6 kB / 1.439 GB, free: 8.391 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/1.415, allocations: 142.3 kB / 1.44 GB, free: 8.25 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/1.419, allocations: 1.602 MB / 1.441 GB, free: 6.629 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.419, allocations: 12 kB / 1.441 GB, free: 6.617 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/1.419, allocations: 4 kB / 1.441 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.419, allocations: 7.969 kB / 1.441 GB, free: 6.605 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/1.425, allocations: 3.159 MB / 1.444 GB, free: 3.383 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.425, allocations: 0 / 1.444 GB, free: 3.383 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.426, allocations: 275.5 kB / 1.445 GB, free: 3.113 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/1.426, allocations: 72.78 kB / 1.445 GB, free: 3.039 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.427, allocations: 35.97 kB / 1.445 GB, free: 3.004 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.429, allocations: 1.674 MB / 1.446 GB, free: 1.18 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.429, allocations: 0 / 1.446 GB, free: 1.18 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004316/1.433, allocations: 2.182 MB / 1.448 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008441/1.434, allocations: 399 kB / 1.449 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/1.434, allocations: 31.94 kB / 1.449 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.435, allocations: 86.92 kB / 1.449 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.435, allocations: 97.19 kB / 1.449 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.436, allocations: 55.95 kB / 1.449 GB, free: 14.3 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001149/1.437, allocations: 0.6919 MB / 1.45 GB, free: 13.61 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/1.437, allocations: 0 / 1.45 GB, free: 13.61 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001784/1.439, allocations: 0.5454 MB / 1.45 GB, free: 13.06 MB / 1.139 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.00613/1.445, allocations: 3.333 MB / 1.454 GB, free: 9.879 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002658/1.447, allocations: 1.244 MB / 1.455 GB, free: 8.621 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.447, allocations: 4.297 kB / 1.455 GB, free: 8.617 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/1.449, allocations: 0.7638 MB / 1.455 GB, free: 7.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.452, allocations: 0.5722 MB / 1.456 GB, free: 7.293 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/1.471, allocations: 10.03 MB / 1.466 GB, free: 13.1 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.472, allocations: 1.304 MB / 1.467 GB, free: 11.76 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001793/1.474, allocations: 438.8 kB / 1.468 GB, free: 11.33 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.475, allocations: 0.671 MB / 1.468 GB, free: 10.66 MB / 1.154 GB Notification: Performance of SimCode: time 1.012e-06/1.475, allocations: 0 / 1.468 GB, free: 10.66 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07991/1.555, allocations: 38.04 MB / 1.505 GB, free: 5.055 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.59, allocations: 13.94 kB / 1.505 GB, free: 5.043 MB / 1.186 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) 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) Reference file matches