Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.002021/0.002021, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.479/1.479, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 65.52 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2534, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00202/0.2555, allocations: 0.7616 MB / 0.951 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.2565, allocations: 0.8644 MB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.2566, allocations: 4 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.2566, allocations: 11.86 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.2567, allocations: 7.875 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.2569, allocations: 43.94 kB / 0.9519 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.257, allocations: 83.78 kB / 0.952 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2571, allocations: 23.98 kB / 0.952 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.2572, allocations: 47.83 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.2573, allocations: 43.83 kB / 0.9521 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.2574, allocations: 8 kB / 0.9521 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.692e-05/0.2574, allocations: 8 kB / 0.9521 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.2574, allocations: 19.97 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.2575, allocations: 35.78 kB / 0.9522 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.2576, allocations: 87.73 kB / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2576, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2576, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2576, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006419/0.2583, allocations: 395.4 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2583, allocations: 12.03 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.2584, allocations: 12.78 kB / 0.9527 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2585, allocations: 184.1 kB / 0.9529 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2585, allocations: 8.375 kB / 0.9529 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2586, allocations: 4.375 kB / 0.9529 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.2589, allocations: 105.7 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2589, allocations: 0 / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2589, allocations: 7.984 kB / 0.953 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2589, allocations: 0 / 0.953 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.2593, allocations: 107.9 kB / 0.9531 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.2599, allocations: 336.6 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.2605, allocations: 122.6 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.2607, allocations: 60.75 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.2608, allocations: 3.938 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.2608, allocations: 34.55 kB / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2608, allocations: 4 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006852/0.2615, allocations: 185.4 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.2615, allocations: 55.41 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.2616, allocations: 117.8 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2617, allocations: 29.7 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.2617, allocations: 100 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2618, allocations: 19.73 kB / 0.9541 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.2618, allocations: 25.7 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.2619, allocations: 318.8 kB / 0.9544 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2621, allocations: 47.95 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.2623, allocations: 47.89 kB / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.2627, allocations: 104.8 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2627, allocations: 3.938 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004259/0.2631, allocations: 133.5 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2631, allocations: 11.98 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2631, allocations: 4 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2632, allocations: 0 / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.2633, allocations: 23.97 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2634, allocations: 3.938 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.2635, allocations: 15.92 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2635, allocations: 8 kB / 0.9548 GB, free: 3.957 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.407e-05/0.2636, allocations: 111.8 kB / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.2636, allocations: 15.89 kB / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.2641, allocations: 146 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2641, allocations: 0 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2641, allocations: 0 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2642, allocations: 3.938 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.2644, allocations: 201.5 kB / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2644, allocations: 4 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.2646, allocations: 27.91 kB / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2646, allocations: 0 / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2646, allocations: 0 / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2646, allocations: 0 / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2646, allocations: 0 / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.2651, allocations: 247.3 kB / 0.9555 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.2651, allocations: 85 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.2652, allocations: 0 / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.2653, allocations: 11.98 kB / 0.9556 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.2654, allocations: 19.98 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.2654, allocations: 11.86 kB / 0.9557 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.2655, allocations: 99.27 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2655, allocations: 4 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002414/0.2657, allocations: 12 kB / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001169/0.2659, allocations: 103.2 kB / 0.9559 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.2663, allocations: 104.6 kB / 0.956 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2663, allocations: 7.938 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.2665, allocations: 63.89 kB / 0.956 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2668, allocations: 12.31 kB / 0.956 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.2673, allocations: 200.1 kB / 0.9562 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2675, allocations: 0.6961 MB / 0.9569 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.2676, allocations: 15.42 kB / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2676, allocations: 0 / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of Templates: time 0.002875/0.2705, allocations: 1.244 MB / 0.9581 GB, free: 384 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches