Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006163/0.006163, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001711/0.001711, allocations: 195.8 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.658/1.658, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.903/2.903, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.89 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3829, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001949/0.3849, allocations: 0.71 MB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.3859, allocations: 0.7962 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.3859, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.386, allocations: 3.938 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.3861, allocations: 3.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.3862, allocations: 15.98 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.932e-05/0.3863, allocations: 47.78 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3864, allocations: 12 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.3865, allocations: 15.98 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.3866, allocations: 23.91 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3866, allocations: 7.984 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.3866, allocations: 4 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3866, allocations: 7.938 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.3867, allocations: 15.92 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3868, allocations: 43.81 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3868, allocations: 0 / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3868, allocations: 0 / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3868, allocations: 4 kB / 1.209 GB, free: 7.891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005057/0.3873, allocations: 359.4 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3874, allocations: 8.625 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3874, allocations: 8.844 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3875, allocations: 184.1 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3876, allocations: 384 / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.3876, allocations: 384 / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.3878, allocations: 78.22 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3879, allocations: 192 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3879, allocations: 3.938 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3879, allocations: 0 / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.3882, allocations: 63.92 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.3885, allocations: 276.8 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3888, allocations: 62.47 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3889, allocations: 32.92 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.389, allocations: 4 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.389, allocations: 34.56 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.389, allocations: 0 / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005698/0.3896, allocations: 133.5 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.3896, allocations: 51.41 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.3897, allocations: 113.8 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3897, allocations: 25.7 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.3898, allocations: 88.05 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3898, allocations: 11.91 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.3898, allocations: 13.7 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.39, allocations: 318.8 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3901, allocations: 23.97 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3903, allocations: 35.95 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.3906, allocations: 68.78 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3906, allocations: 3.938 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003319/0.3909, allocations: 109.5 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3909, allocations: 4 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.391, allocations: 4 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.391, allocations: 0 / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3911, allocations: 11.98 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3911, allocations: 3.984 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.3912, allocations: 15.89 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3912, allocations: 4 kB / 1.212 GB, free: 5.551 MB / 0.9669 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 7.729e-05/0.3913, allocations: 113.8 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3913, allocations: 0 / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.3917, allocations: 109.5 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3917, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3918, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3918, allocations: 4 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.3919, allocations: 173.6 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3919, allocations: 4 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.3921, allocations: 11.98 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3921, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3921, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3921, allocations: 4 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3921, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.3925, allocations: 207.3 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.3925, allocations: 81.05 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3925, allocations: 3.938 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3926, allocations: 15.92 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3927, allocations: 11.98 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3927, allocations: 4 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.3927, allocations: 79.28 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3927, allocations: 0 / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002167/0.393, allocations: 12 kB / 1.212 GB, free: 4.625 MB / 0.9669 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.0001671/0.3931, allocations: 99.23 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003616/0.3935, allocations: 72.34 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3935, allocations: 0 / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.3937, allocations: 35.91 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.394, allocations: 15.88 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.3943, allocations: 148 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3946, allocations: 0.6846 MB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.3946, allocations: 3.984 kB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.3947, allocations: 11.44 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3947, allocations: 0 / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of Templates: time 0.002759/0.3974, allocations: 0.7046 MB / 1.214 GB, free: 2.805 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches