Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 102.7 kB / 16.4 MB, free: 6.461 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.001438/0.001438, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 67.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7158, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001891/0.7177, allocations: 0.703 MB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.7187, allocations: 0.8118 MB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.7187, allocations: 4 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.7188, allocations: 3.938 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.7189, allocations: 7.922 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.719, allocations: 15.98 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.7191, allocations: 43.84 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.7192, allocations: 12 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.7193, allocations: 19.92 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.7194, allocations: 19.92 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.7194, allocations: 8 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.7194, allocations: 4 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.7194, allocations: 11.92 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.7195, allocations: 15.92 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.961e-05/0.7196, allocations: 39.86 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7196, allocations: 0 / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7196, allocations: 3.938 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7196, allocations: 0 / 1.169 GB, free: 2.07 MB / 0.8887 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.0005175/0.7201, allocations: 363.2 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7202, allocations: 8.922 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.7202, allocations: 8.844 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.7203, allocations: 174.2 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.7204, allocations: 384 / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.7204, allocations: 384 / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.7206, allocations: 74.2 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.7206, allocations: 192 / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.7207, allocations: 7.938 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7207, allocations: 0 / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.7209, allocations: 63.92 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.7213, allocations: 264.9 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.7215, allocations: 64.86 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.7217, allocations: 40.91 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.7217, allocations: 4 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.7218, allocations: 30.56 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.7218, allocations: 0 / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005464/0.7223, allocations: 133.5 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.7224, allocations: 51.41 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.7225, allocations: 113.8 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.7225, allocations: 29.64 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.7225, allocations: 88.05 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.7226, allocations: 15.84 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.7226, allocations: 13.72 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7227, allocations: 318.8 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.7229, allocations: 27.97 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.723, allocations: 31.95 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.7233, allocations: 69.08 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7233, allocations: 3.938 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003083/0.7236, allocations: 105.5 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.7236, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7236, allocations: 8 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7237, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.7238, allocations: 15.98 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7238, allocations: 3.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.7239, allocations: 11.98 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.7239, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 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 0.0001102/0.724, allocations: 117.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.724, allocations: 7.906 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.7244, allocations: 109.5 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7244, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7244, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7244, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.7246, allocations: 165.6 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.7246, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.7248, allocations: 19.97 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7248, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.7248, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.7248, allocations: 8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7248, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.7253, allocations: 195.4 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.7254, allocations: 85 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.7254, allocations: 0 / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.7256, allocations: 11.98 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.7256, allocations: 8 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.7257, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.7257, allocations: 87.2 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.62e-07/0.7257, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003262/0.7261, allocations: 12 kB / 1.172 GB, free: 14.82 MB / 0.9044 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.0001589/0.7262, allocations: 103.2 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.7267, allocations: 63.92 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7267, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.7269, allocations: 47.89 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.7273, allocations: 7.938 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.7277, allocations: 155.1 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.7281, allocations: 0.6807 MB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.7281, allocations: 11.44 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.7281, allocations: 0 / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of Templates: time 0.002366/0.7305, allocations: 0.7429 MB / 1.174 GB, free: 12.96 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches