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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001131/0.001131, allocations: 92.16 kB / 16.02 MB, free: 80 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.001667/0.001667, allocations: 182.1 kB / 16.92 MB, free: 6.922 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.485/1.485, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003914, allocations: 11.72 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 159.6 MB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.0009158/0.3133, allocations: 444.4 kB / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.3143, allocations: 0.804 MB / 1.061 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.3143, allocations: 4 kB / 1.061 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.3144, allocations: 3.938 kB / 1.061 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.771e-05/0.3145, allocations: 7.922 kB / 1.061 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.3146, allocations: 7.984 kB / 1.061 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.3147, allocations: 43.86 kB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3148, allocations: 12 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.943e-05/0.3149, allocations: 11.98 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.315, allocations: 15.92 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.315, allocations: 7.938 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.315, allocations: 0 / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.315, allocations: 7.984 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.3151, allocations: 37.64 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.743e-05/0.3152, allocations: 35.91 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3152, allocations: 0 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.171e-06/0.3152, allocations: 0 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3152, allocations: 11.88 kB / 1.061 GB, free: 3.566 MB / 0.8106 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.0005836/0.3158, allocations: 367.6 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3159, allocations: 11.97 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3159, allocations: 4.938 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3161, allocations: 172.2 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3161, allocations: 8.375 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3161, allocations: 384 / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.3164, allocations: 82.2 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3164, allocations: 192 / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3165, allocations: 3.938 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.3165, allocations: 4 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.3168, allocations: 91.91 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.3172, allocations: 264.9 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3175, allocations: 66.48 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.3177, allocations: 52.91 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3177, allocations: 4 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.3177, allocations: 34.56 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3177, allocations: 0 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006036/0.3183, allocations: 161.4 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.3184, allocations: 59.39 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.3185, allocations: 105.8 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3185, allocations: 29.7 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.3186, allocations: 88.14 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3186, allocations: 3.906 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.3186, allocations: 13.72 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3187, allocations: 318.8 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3189, allocations: 39.97 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.319, allocations: 39.97 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.3194, allocations: 96.72 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3194, allocations: 3.938 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003854/0.3198, allocations: 121.5 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3198, allocations: 7.984 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3198, allocations: 8 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3198, allocations: 0 / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.32, allocations: 19.98 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.32, allocations: 0 / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.3201, allocations: 19.92 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.3201, allocations: 4 kB / 1.063 GB, free: 1.078 MB / 0.8106 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 8.318e-05/0.3202, allocations: 117.8 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3202, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/0.3206, allocations: 137.4 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3206, allocations: 0 / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3207, allocations: 0 / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3207, allocations: 0 / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.3208, allocations: 173.6 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3208, allocations: 0 / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.321, allocations: 27.92 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.321, allocations: 3.984 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.321, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.321, allocations: 4 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.321, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.3214, allocations: 223.6 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.3215, allocations: 85.08 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3215, allocations: 4 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3216, allocations: 19.97 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3216, allocations: 4 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3217, allocations: 0 / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.3217, allocations: 87.27 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3217, allocations: 4 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002226/0.3219, allocations: 4 kB / 1.064 GB, free: 100 kB / 0.8106 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.0001631/0.3221, allocations: 101.9 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.3225, allocations: 91.92 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3225, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.3227, allocations: 55.89 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.323, allocations: 11.94 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.3233, allocations: 166.1 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3236, allocations: 0.6809 MB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.3236, allocations: 7.438 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3236, allocations: 4 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of Templates: time 0.002384/0.326, allocations: 0.7289 MB / 1.066 GB, free: 14.2 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