Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 106.3 kB / 16.37 MB, free: 6.477 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.00168/0.00168, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.553/2.553, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 66.34 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3225, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002159/0.3247, allocations: 0.6494 MB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001675/0.3249, allocations: 11.97 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.325, allocations: 4 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3251, allocations: 7.938 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.3252, allocations: 0 / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.404e-05/0.3252, allocations: 0 / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.693e-05/0.3254, allocations: 31.86 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.3255, allocations: 31.98 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.3256, allocations: 15.98 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.3256, allocations: 15.88 kB / 1.028 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.3256, allocations: 0 / 1.028 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.3257, allocations: 4 kB / 1.028 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.3257, allocations: 11.97 kB / 1.028 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.3257, allocations: 19.88 kB / 1.028 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3259, allocations: 47.81 kB / 1.028 GB, free: 1.219 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3259, allocations: 4 kB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3259, allocations: 0 / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3259, allocations: 0 / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000399/0.3263, allocations: 355.4 kB / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3263, allocations: 8.031 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3264, allocations: 8.844 kB / 1.028 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.3266, allocations: 184.2 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3266, allocations: 4.375 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3266, allocations: 4.375 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3268, allocations: 80.67 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3268, allocations: 192 / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3268, allocations: 11.94 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3268, allocations: 0 / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.3269, allocations: 43.97 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.3275, allocations: 494.9 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/0.3276, allocations: 177.1 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.3276, allocations: 80.14 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.3276, allocations: 75.28 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.3277, allocations: 109.8 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3277, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.72e-05/0.3278, allocations: 29.81 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.3279, allocations: 134.6 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.328, allocations: 177.7 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.328, allocations: 29.64 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.3281, allocations: 96.05 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.3281, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.3282, allocations: 9.719 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.3283, allocations: 322.8 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.3283, allocations: 7.984 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.3283, allocations: 8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.3283, allocations: 16.84 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3283, allocations: 4 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001214/0.3285, allocations: 49.59 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3285, allocations: 6.188 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3285, allocations: 0 / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3285, allocations: 4 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.3286, allocations: 3.938 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3286, allocations: 8.031 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.3286, allocations: 11.92 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3287, allocations: 4 kB / 1.03 GB, free: 14.48 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 (1): * Single equations (assignments): 1 * 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 9.399e-05/0.3287, allocations: 193.1 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.3288, allocations: 112.9 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.3289, allocations: 108.9 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/0.3289, allocations: 184.2 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.415e-05/0.329, allocations: 188.2 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.622e-05/0.3291, allocations: 188.2 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3293, allocations: 417.2 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.3293, allocations: 104.9 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.3294, allocations: 104.9 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.569e-05/0.3294, allocations: 184.3 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.3295, allocations: 184.2 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.215e-05/0.3295, allocations: 180.3 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.143e-05/0.3296, allocations: 184.1 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.3297, allocations: 311.7 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.3298, allocations: 194 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.3299, allocations: 180.3 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.3299, allocations: 105.2 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.33, allocations: 188.1 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.3301, allocations: 109 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.605e-05/0.3302, allocations: 131.2 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3302, allocations: 0 / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002196/0.3304, allocations: 4 kB / 1.033 GB, free: 10.78 MB / 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 (0): * Single equations (assignments): 0 * 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.0001608/0.3306, allocations: 182.5 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.3306, allocations: 4 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3306, allocations: 0 / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.3306, allocations: 8 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3311, allocations: 459.7 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.3314, allocations: 224.1 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3317, allocations: 0.6885 MB / 1.035 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.3317, allocations: 7.984 kB / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3317, allocations: 11.44 kB / 1.035 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3318, allocations: 3.938 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of Templates: time 0.002448/0.3342, allocations: 475.5 kB / 1.035 GB, free: 8.676 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches