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.001693/0.001693, allocations: 104 kB / 15.6 MB, free: 148 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.001919/0.001919, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 68.73 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2362, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1691/0.4054, allocations: 176.2 MB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.476/0.8814, allocations: 15.65 MB / 1.251 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.8827, allocations: 32.66 kB / 1.251 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.8845, allocations: 0.6116 MB / 1.252 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.8885, allocations: 1.563 MB / 1.253 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.8921, allocations: 1.681 MB / 1.255 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002942/0.8951, allocations: 2.889 MB / 1.258 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.897, allocations: 1.84 MB / 1.259 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/0.8997, allocations: 1.372 MB / 1.261 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.9007, allocations: 1.047 MB / 1.262 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.901, allocations: 200.8 kB / 1.262 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.9031, allocations: 1.307 MB / 1.263 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.9035, allocations: 0.5704 MB / 1.264 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008453/0.9044, allocations: 1.033 MB / 1.265 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.9072, allocations: 2.959 MB / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.9072, allocations: 0 / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9072, allocations: 0 / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.13e-05/0.9072, allocations: 0.875 kB / 1.268 GB, free: 4.121 MB / 0.9981 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.003833/0.9111, allocations: 2.308 MB / 1.27 GB, free: 19.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.9111, allocations: 9.906 kB / 1.27 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002848/0.9114, allocations: 238.6 kB / 1.27 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.9145, allocations: 467 kB / 1.271 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.916, allocations: 1.101 MB / 1.272 GB, free: 18.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/0.9161, allocations: 123.9 kB / 1.272 GB, free: 18.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.9163, allocations: 158.4 kB / 1.272 GB, free: 18.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.9192, allocations: 1.784 MB / 1.274 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.9193, allocations: 4.75 kB / 1.274 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.9194, allocations: 71.02 kB / 1.274 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.9195, allocations: 48.05 kB / 1.274 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003309/0.9228, allocations: 1.768 MB / 1.276 GB, free: 18.22 MB / 1.014 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.00738/0.9302, allocations: 6.215 MB / 1.282 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.9327, allocations: 1.568 MB / 1.283 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009399/0.9337, allocations: 0.5692 MB / 1.284 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008382/0.9345, allocations: 0.8857 MB / 1.285 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.9358, allocations: 0.7957 MB / 1.285 GB, free: 13.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 2.775e-06/0.9358, allocations: 0.75 kB / 1.285 GB, free: 13.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.004537/0.9404, allocations: 1.882 MB / 1.287 GB, free: 13.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.9405, allocations: 197.2 kB / 1.287 GB, free: 13.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.9416, allocations: 0.9787 MB / 1.288 GB, free: 13.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.9417, allocations: 58.42 kB / 1.288 GB, free: 13.35 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.9421, allocations: 0.6684 MB / 1.289 GB, free: 13.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.9423, allocations: 415.4 kB / 1.289 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/0.9427, allocations: 216.2 kB / 1.29 GB, free: 12.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9428, allocations: 352.1 kB / 1.29 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000839/0.9436, allocations: 426 kB / 1.29 GB, free: 12.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/0.9446, allocations: 0.5908 MB / 1.291 GB, free: 12.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.9464, allocations: 1.016 MB / 1.292 GB, free: 12.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.9464, allocations: 0 / 1.292 GB, free: 12.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002761/0.9492, allocations: 1.299 MB / 1.293 GB, free: 12.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9492, allocations: 8.266 kB / 1.293 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9493, allocations: 3.156 kB / 1.293 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.9498, allocations: 84.34 kB / 1.293 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9511, allocations: 287.6 kB / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.9531, allocations: 1.651 MB / 1.295 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.9542, allocations: 147.8 kB / 1.295 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.9543, allocations: 45.89 kB / 1.295 GB, free: 10.66 MB / 1.014 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.000526/0.9548, allocations: 383.5 kB / 1.296 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.955, allocations: 137.4 kB / 1.296 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.9584, allocations: 1.606 MB / 1.297 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.9584, allocations: 13.28 kB / 1.297 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9585, allocations: 9.406 kB / 1.297 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.9585, allocations: 5.672 kB / 1.297 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.9632, allocations: 3.172 MB / 1.301 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9632, allocations: 0.9375 kB / 1.301 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.9645, allocations: 271.1 kB / 1.301 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/0.965, allocations: 73.86 kB / 1.301 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/0.9651, allocations: 34.72 kB / 1.301 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.9668, allocations: 1.688 MB / 1.303 GB, free: 8.535 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9668, allocations: 0 / 1.303 GB, free: 8.535 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.9707, allocations: 2.174 MB / 1.305 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.9712, allocations: 401.8 kB / 1.305 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.9714, allocations: 29.94 kB / 1.305 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.9725, allocations: 84.8 kB / 1.305 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.9727, allocations: 96.73 kB / 1.305 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.9728, allocations: 60.98 kB / 1.305 GB, free: 8.094 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007422/0.9736, allocations: 0.6859 MB / 1.306 GB, free: 7.984 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9736, allocations: 0.8125 kB / 1.306 GB, free: 7.984 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001202/0.9748, allocations: 0.5394 MB / 1.307 GB, free: 7.895 MB / 1.014 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.005575/0.9804, allocations: 3.347 MB / 1.31 GB, free: 6.977 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003734/0.9841, allocations: 1.663 MB / 1.311 GB, free: 6.824 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9841, allocations: 2.562 kB / 1.311 GB, free: 6.824 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.9854, allocations: 0.758 MB / 1.312 GB, free: 6.707 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.9877, allocations: 0.5721 MB / 1.313 GB, free: 6.645 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.003, allocations: 10.7 MB / 1.323 GB, free: 3.012 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/1.004, allocations: 1.311 MB / 1.324 GB, free: 2.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001676/1.005, allocations: 441.5 kB / 1.325 GB, free: 2.133 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007705/1.006, allocations: 0.6602 MB / 1.326 GB, free: 2.125 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/1.006, allocations: 0 / 1.326 GB, free: 2.125 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06375/1.07, allocations: 37.05 MB / 1.362 GB, free: 15.8 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.15, allocations: 6.516 kB / 1.362 GB, free: 15.79 MB / 1.045 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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