Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_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.00167/0.00167, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.47/2.47, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.49, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1593/0.6494, allocations: 176.2 MB / 1.189 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.6671, allocations: 15.66 MB / 1.205 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.6682, allocations: 31.81 kB / 1.205 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.6697, allocations: 0.6129 MB / 1.205 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.6734, allocations: 1.57 MB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.677, allocations: 1.666 MB / 1.209 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002781/0.6798, allocations: 2.898 MB / 1.211 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.6817, allocations: 1.836 MB / 1.213 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.6843, allocations: 1.387 MB / 1.215 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009926/0.6853, allocations: 1.054 MB / 1.216 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.6856, allocations: 196 kB / 1.216 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.6877, allocations: 1.302 MB / 1.217 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.6881, allocations: 0.5686 MB / 1.218 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.6889, allocations: 1.034 MB / 1.219 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.6915, allocations: 2.956 MB / 1.221 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6916, allocations: 0 / 1.221 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6916, allocations: 0 / 1.221 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.6916, allocations: 3.938 kB / 1.221 GB, free: 0.7461 MB / 0.9669 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.003483/0.6951, allocations: 2.308 MB / 1.224 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.6951, allocations: 12.03 kB / 1.224 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.6954, allocations: 236.3 kB / 1.224 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.6985, allocations: 477 kB / 1.224 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.6999, allocations: 1.089 MB / 1.225 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.7, allocations: 119.1 kB / 1.226 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.7002, allocations: 160 kB / 1.226 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.7029, allocations: 1.797 MB / 1.227 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.703, allocations: 4 kB / 1.227 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.7031, allocations: 68 kB / 1.228 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/0.7032, allocations: 51.98 kB / 1.228 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.7061, allocations: 1.78 MB / 1.229 GB, free: 8.465 MB / 0.9825 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.007258/0.7134, allocations: 6.195 MB / 1.235 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.716, allocations: 1.56 MB / 1.237 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009829/0.717, allocations: 0.5583 MB / 1.237 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008103/0.7178, allocations: 0.8905 MB / 1.238 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/0.7192, allocations: 0.8027 MB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 2.665e-06/0.7192, allocations: 0 / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.004621/0.7238, allocations: 1.883 MB / 1.241 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.7239, allocations: 196.9 kB / 1.241 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.725, allocations: 0.9875 MB / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.674e-05/0.7252, allocations: 53.7 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.7256, allocations: 0.6645 MB / 1.243 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.7259, allocations: 418 kB / 1.243 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.7262, allocations: 210.8 kB / 1.243 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7263, allocations: 349.9 kB / 1.244 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009089/0.7272, allocations: 426.4 kB / 1.244 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.7283, allocations: 0.5897 MB / 1.245 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.7303, allocations: 1.015 MB / 1.246 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7303, allocations: 4 kB / 1.246 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002876/0.7331, allocations: 1.301 MB / 1.247 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7332, allocations: 11.98 kB / 1.247 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7332, allocations: 0 / 1.247 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.7338, allocations: 84.94 kB / 1.247 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.7351, allocations: 283.6 kB / 1.247 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.7371, allocations: 1.659 MB / 1.249 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7381, allocations: 134.8 kB / 1.249 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/0.7382, allocations: 43.97 kB / 1.249 GB, free: 3.207 MB / 0.9981 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.0005206/0.7387, allocations: 381.5 kB / 1.25 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.739, allocations: 138.3 kB / 1.25 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.7425, allocations: 1.606 MB / 1.251 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.7425, allocations: 19.94 kB / 1.251 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7425, allocations: 3.984 kB / 1.251 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.7425, allocations: 3.984 kB / 1.251 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3968/1.139, allocations: 3.163 MB / 1.254 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.139, allocations: 4.781 kB / 1.254 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.141, allocations: 267.8 kB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/1.141, allocations: 73.92 kB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/1.141, allocations: 36.22 kB / 1.255 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/1.143, allocations: 1.673 MB / 1.256 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.143, allocations: 0.7188 kB / 1.256 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/1.147, allocations: 2.177 MB / 1.258 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/1.148, allocations: 398.2 kB / 1.259 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.148, allocations: 32.36 kB / 1.259 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.149, allocations: 88.39 kB / 1.259 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/1.149, allocations: 92.92 kB / 1.259 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.15, allocations: 61.95 kB / 1.259 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009209/1.151, allocations: 0.6878 MB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.151, allocations: 1.281 kB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001288/1.152, allocations: 0.5477 MB / 1.26 GB, free: 228.4 MB / 0.9981 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.005832/1.158, allocations: 3.33 MB / 1.264 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004408/1.162, allocations: 1.673 MB / 1.265 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.162, allocations: 5.062 kB / 1.265 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/1.163, allocations: 0.7579 MB / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/1.166, allocations: 0.5764 MB / 1.266 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.181, allocations: 10.71 MB / 1.277 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/1.181, allocations: 1.309 MB / 1.278 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001609/1.183, allocations: 441.4 kB / 1.279 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007588/1.184, allocations: 0.6652 MB / 1.279 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.184, allocations: 3.938 kB / 1.279 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05251/1.236, allocations: 37.04 MB / 1.315 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.88, allocations: 6.531 kB / 1.315 GB, free: 187.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches