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.001499/0.001499, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001702/0.001702, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 469.4 MB / 0.7424 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001316, allocations: 69.41 kB / 0.9084 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3224, allocations: 159.1 MB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002203/0.3247, allocations: 0.775 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3257, allocations: 0.8055 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.3258, allocations: 4 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.3258, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.3259, allocations: 3.938 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.3261, allocations: 11.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.579e-05/0.3262, allocations: 43.86 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3263, allocations: 15.98 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.3264, allocations: 19.86 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.3264, allocations: 27.91 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3265, allocations: 4 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.3265, allocations: 4 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.3265, allocations: 4 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.3265, allocations: 23.86 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.562e-05/0.3266, allocations: 27.94 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3266, allocations: 8 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3266, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3266, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 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.0005341/0.3272, allocations: 355.7 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3272, allocations: 8.031 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3273, allocations: 4.844 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3274, allocations: 172.3 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3274, allocations: 384 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3274, allocations: 12.38 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3277, allocations: 66.22 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3277, allocations: 192 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3277, allocations: 7.938 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3277, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.328, allocations: 71.86 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.3284, allocations: 268.9 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3286, allocations: 54.48 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3287, allocations: 44.91 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3288, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3288, allocations: 38.44 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3288, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005278/0.3293, allocations: 133.6 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3294, allocations: 51.41 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.3295, allocations: 109.8 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3295, allocations: 25.7 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.3295, allocations: 88.14 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.3296, allocations: 7.812 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3296, allocations: 17.7 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.3297, allocations: 314.8 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3299, allocations: 35.97 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.33, allocations: 35.89 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.3303, allocations: 68.78 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3303, allocations: 7.938 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003116/0.3306, allocations: 93.62 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3306, allocations: 7.938 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3306, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3306, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3308, allocations: 15.98 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3308, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.3309, allocations: 19.97 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3309, allocations: 336 / 1.068 GB, free: 10.79 MB / 0.8262 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.7e-05/0.331, allocations: 117.7 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.331, allocations: 7.906 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.3314, allocations: 113.5 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3314, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3314, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3314, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3316, allocations: 165.6 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3316, allocations: 3.984 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.836e-05/0.3317, allocations: 19.98 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3317, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3317, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3317, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3317, allocations: 8 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.3321, allocations: 195.3 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.3321, allocations: 88.95 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3321, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3322, allocations: 19.98 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.3323, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3323, allocations: 3.984 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.3324, allocations: 87.28 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3324, allocations: 3.938 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002243/0.3326, allocations: 8 kB / 1.068 GB, free: 9.859 MB / 0.8262 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.0001491/0.3327, allocations: 95.25 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.3331, allocations: 79.84 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3331, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3333, allocations: 31.97 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3336, allocations: 13.66 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.3339, allocations: 167.3 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3341, allocations: 0.6806 MB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.3342, allocations: 11.44 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3342, allocations: 0 / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.002134/0.3363, allocations: 0.7375 MB / 1.07 GB, free: 7.988 MB / 0.8262 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/jenkins1/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