Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.00109/0.00109, 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.001166/0.001166, 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6064/0.6079, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002/0.6099, allocations: 0.7017 MB / 0.9504 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.6109, allocations: 0.8064 MB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.6109, allocations: 0 / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.611, allocations: 3.938 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.6111, allocations: 9.172 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.6112, allocations: 13.55 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.922e-05/0.6114, allocations: 46.3 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.6115, allocations: 8.922 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.6116, allocations: 17.66 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.6116, allocations: 20.94 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.6117, allocations: 3.812 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.6117, allocations: 3.812 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.6117, allocations: 9.281 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.6118, allocations: 27.62 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.6119, allocations: 43.38 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.6119, allocations: 0 / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6119, allocations: 0 / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.6119, allocations: 0 / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000546/0.6125, allocations: 362 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6125, allocations: 8.781 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.6126, allocations: 40.36 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.6126, allocations: 6.125 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.6127, allocations: 168.4 kB / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.6127, allocations: 384 / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.6127, allocations: 9.781 kB / 0.952 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.613, allocations: 67.53 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.613, allocations: 5.625 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.613, allocations: 0 / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.613, allocations: 3.984 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.6133, allocations: 64.38 kB / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.6137, allocations: 266.2 kB / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.6139, allocations: 68.34 kB / 0.9524 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.614, allocations: 36.08 kB / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.6141, allocations: 0 / 0.9525 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.6141, allocations: 35.8 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.6141, allocations: 0 / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005365/0.6146, allocations: 130.8 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.6147, allocations: 55.34 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.021e-05/0.6147, allocations: 112.5 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.6148, allocations: 25.7 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.6148, allocations: 89.62 kB / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.6148, allocations: 9.156 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.6148, allocations: 20.53 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.6149, allocations: 312.2 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.615, allocations: 32.92 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.6152, allocations: 30 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.6155, allocations: 79.55 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6155, allocations: 0 / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003417/0.6158, allocations: 102.2 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6158, allocations: 4.781 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6159, allocations: 4 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6159, allocations: 1.312 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.616, allocations: 26.78 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.616, allocations: 0 / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.6161, allocations: 10.3 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.6162, allocations: 1.25 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.6162, allocations: 116.3 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.6163, allocations: 1.312 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.6166, allocations: 108.5 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6166, allocations: 1 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6167, allocations: 3.938 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6167, allocations: 5.047 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.6168, allocations: 173.2 kB / 0.9539 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6168, allocations: 0 / 0.9539 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.6169, allocations: 14.52 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6169, allocations: 5.438 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.6169, allocations: 0 / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6169, allocations: 0 / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6169, allocations: 1.375 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.6173, allocations: 199.2 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.6173, allocations: 82.55 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.6173, allocations: 1.75 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.6175, allocations: 9.641 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.6175, allocations: 10.27 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.6175, allocations: 1.688 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.6176, allocations: 84.86 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6176, allocations: 0 / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002363/0.6178, allocations: 10.25 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006164/0.6184, allocations: 0.7325 MB / 0.955 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.6188, allocations: 75.81 kB / 0.9551 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6188, allocations: 0 / 0.9551 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.619, allocations: 36.06 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.6193, allocations: 4.688 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.6198, allocations: 157 kB / 0.9553 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.223e-05/0.6199, allocations: 0.6837 MB / 0.9559 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.6199, allocations: 5.156 kB / 0.9559 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.62, allocations: 16.77 kB / 0.956 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.62, allocations: 1.25 kB / 0.956 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.6372, allocations: 1.6 MB / 0.9575 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.821, allocations: 13.98 kB / 0.9575 GB, free: 2.414 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches