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.00442/0.00442, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001101/0.001101, allocations: 202 kB / 16.68 MB, free: 5.961 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.592/2.592, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2394, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6647/0.9041, allocations: 176.2 MB / 1.338 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.9234, allocations: 15.67 MB / 1.354 GB, free: 1.961 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.9249, allocations: 30.75 kB / 1.354 GB, free: 1.949 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.9265, allocations: 0.636 MB / 1.354 GB, free: 1.566 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.9307, allocations: 1.601 MB / 1.356 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.9347, allocations: 1.689 MB / 1.357 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.938, allocations: 2.913 MB / 1.36 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.9403, allocations: 1.845 MB / 1.362 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.9436, allocations: 1.433 MB / 1.363 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.9449, allocations: 1.051 MB / 1.364 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.9452, allocations: 197.6 kB / 1.365 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.9479, allocations: 1.336 MB / 1.366 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005124/0.9484, allocations: 0.565 MB / 1.366 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.9495, allocations: 1.035 MB / 1.367 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.9532, allocations: 3.033 MB / 1.37 GB, free: 8.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9533, allocations: 4 kB / 1.37 GB, free: 8.676 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9533, allocations: 0 / 1.37 GB, free: 8.676 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.803e-05/0.9533, allocations: 0 / 1.37 GB, free: 8.676 MB / 1.045 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.003846/0.9572, allocations: 2.365 MB / 1.373 GB, free: 6.902 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.9572, allocations: 9.312 kB / 1.373 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002734/0.9575, allocations: 238.3 kB / 1.373 GB, free: 6.715 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.9605, allocations: 472.9 kB / 1.373 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.9622, allocations: 1.152 MB / 1.375 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.9623, allocations: 124.7 kB / 1.375 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.9625, allocations: 153.5 kB / 1.375 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.9653, allocations: 1.787 MB / 1.377 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.9654, allocations: 1.875 kB / 1.377 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.9655, allocations: 68.31 kB / 1.377 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.9656, allocations: 56.17 kB / 1.377 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002871/0.9684, allocations: 1.763 MB / 1.378 GB, free: 3.461 MB / 1.045 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.007601/0.9761, allocations: 6.164 MB / 1.384 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.9786, allocations: 1.564 MB / 1.386 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009529/0.9796, allocations: 0.5633 MB / 1.387 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/0.9804, allocations: 0.8856 MB / 1.387 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/0.9818, allocations: 0.7959 MB / 1.388 GB, free: 11.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=126): time 2.685e-06/0.9818, allocations: 0 / 1.388 GB, free: 11.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=126): time 0.004566/0.9864, allocations: 1.892 MB / 1.39 GB, free: 10.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.9865, allocations: 193.1 kB / 1.39 GB, free: 10.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.9877, allocations: 0.995 MB / 1.391 GB, free: 9.785 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.9878, allocations: 52.64 kB / 1.391 GB, free: 9.734 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.9883, allocations: 0.6724 MB / 1.392 GB, free: 9.141 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.9887, allocations: 438.3 kB / 1.392 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.989, allocations: 211.8 kB / 1.393 GB, free: 8.637 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9891, allocations: 352.5 kB / 1.393 GB, free: 8.297 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/0.99, allocations: 429.4 kB / 1.393 GB, free: 8.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009912/0.991, allocations: 0.5941 MB / 1.394 GB, free: 7.691 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.9929, allocations: 1.015 MB / 1.395 GB, free: 7.133 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.9929, allocations: 2.25 kB / 1.395 GB, free: 7.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002825/0.9957, allocations: 1.315 MB / 1.396 GB, free: 6.457 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.9957, allocations: 7.594 kB / 1.396 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9958, allocations: 0 / 1.396 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.9963, allocations: 92.34 kB / 1.396 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.9976, allocations: 281.3 kB / 1.396 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.9997, allocations: 1.651 MB / 1.398 GB, free: 4.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.001, allocations: 137.9 kB / 1.398 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/1.001, allocations: 52.5 kB / 1.398 GB, free: 4.613 MB / 1.061 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.0006386/1.002, allocations: 367.4 kB / 1.399 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/1.002, allocations: 146.8 kB / 1.399 GB, free: 4.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/1.005, allocations: 1.608 MB / 1.4 GB, free: 3.363 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.005, allocations: 12.78 kB / 1.4 GB, free: 3.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.005, allocations: 0 / 1.4 GB, free: 3.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.005, allocations: 6.641 kB / 1.4 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/1.01, allocations: 3.168 MB / 1.403 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.01, allocations: 3.984 kB / 1.403 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.012, allocations: 275.5 kB / 1.404 GB, free: 476 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/1.012, allocations: 72.8 kB / 1.404 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.601e-05/1.012, allocations: 39.97 kB / 1.404 GB, free: 360 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/1.014, allocations: 1.666 MB / 1.405 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.014, allocations: 0 / 1.405 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004144/1.018, allocations: 2.191 MB / 1.408 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006477/1.019, allocations: 403.7 kB / 1.408 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.019, allocations: 27.94 kB / 1.408 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.02, allocations: 90.03 kB / 1.408 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.021, allocations: 97.17 kB / 1.408 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.021, allocations: 59.95 kB / 1.408 GB, free: 11.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008884/1.022, allocations: 0.688 MB / 1.409 GB, free: 10.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.022, allocations: 0 / 1.409 GB, free: 10.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00128/1.023, allocations: 0.5493 MB / 1.409 GB, free: 10.4 MB / 1.076 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.005907/1.029, allocations: 3.356 MB / 1.413 GB, free: 7.207 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00248/1.031, allocations: 1.248 MB / 1.414 GB, free: 5.945 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.031, allocations: 4.438 kB / 1.414 GB, free: 5.941 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/1.033, allocations: 0.748 MB / 1.415 GB, free: 5.18 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.035, allocations: 0.5768 MB / 1.415 GB, free: 4.625 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.051, allocations: 10.1 MB / 1.425 GB, free: 10.35 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008915/1.052, allocations: 1.303 MB / 1.426 GB, free: 9.016 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001448/1.054, allocations: 446.7 kB / 1.427 GB, free: 8.574 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009273/1.055, allocations: 0.6633 MB / 1.427 GB, free: 7.91 MB / 1.092 GB Notification: Performance of SimCode: time 4.21e-07/1.055, allocations: 0 / 1.427 GB, free: 7.91 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06783/1.123, allocations: 37.39 MB / 1.464 GB, free: 2.945 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.67, allocations: 11.75 kB / 1.464 GB, free: 2.934 MB / 1.123 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