Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001472, allocations: 102.2 kB / 16.27 MB, free: 6 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.001799/0.001799, allocations: 191 kB / 17.2 MB, free: 5.609 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.373/2.373, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 62.84 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2947, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001988/0.2967, allocations: 0.5348 MB / 0.9508 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 3.894e-05/0.2968, allocations: 3.938 kB / 0.9508 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.2968, allocations: 0 / 0.9508 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.2969, allocations: 0 / 0.9508 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.936e-05/0.2969, allocations: 0 / 0.9508 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.093e-05/0.2969, allocations: 4 kB / 0.9508 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.297, allocations: 0 / 0.9508 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/0.2971, allocations: 3.984 kB / 0.9508 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.2971, allocations: 7.938 kB / 0.9508 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.428e-05/0.2971, allocations: 4 kB / 0.9508 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2971, allocations: 7.984 kB / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-06/0.2971, allocations: 0 / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.2972, allocations: 0 / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.2972, allocations: 0 / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.227e-05/0.2972, allocations: 0 / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2973, allocations: 0 / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2973, allocations: 0 / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.2973, allocations: 4 kB / 0.9508 GB, free: 8.277 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003701/0.2976, allocations: 315.4 kB / 0.9512 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2977, allocations: 12.06 kB / 0.9512 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.2977, allocations: 4.938 kB / 0.9512 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2979, allocations: 168.3 kB / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2979, allocations: 384 / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.2979, allocations: 384 / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.298, allocations: 33.83 kB / 0.9514 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.298, allocations: 0 / 0.9514 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.298, allocations: 0 / 0.9514 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.298, allocations: 0 / 0.9514 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.298, allocations: 7.922 kB / 0.9514 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.2983, allocations: 387.4 kB / 0.9517 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/0.2984, allocations: 177.2 kB / 0.9519 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.2985, allocations: 84.12 kB / 0.952 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2985, allocations: 75.28 kB / 0.9521 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.2986, allocations: 113.8 kB / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2986, allocations: 0 / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.212e-05/0.2987, allocations: 29.64 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.2987, allocations: 126.7 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2988, allocations: 93.86 kB / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2989, allocations: 25.7 kB / 0.9524 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.2989, allocations: 80.27 kB / 0.9525 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.2989, allocations: 8 kB / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.2989, allocations: 17.7 kB / 0.9525 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2991, allocations: 314.8 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-06/0.2991, allocations: 0 / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-06/0.2991, allocations: 0 / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.2991, allocations: 75.28 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-05/0.2992, allocations: 75.28 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.866e-05/0.2992, allocations: 35.75 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.2993, allocations: 83.28 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.2993, allocations: 83.28 kB / 0.9532 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.462e-05/0.2994, allocations: 150.6 kB / 0.9533 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-05/0.2994, allocations: 79.22 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.044e-05/0.2995, allocations: 158.5 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.2996, allocations: 83.22 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2996, allocations: 83.22 kB / 0.9537 GB, free: 5.129 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001202/0.2997, allocations: 260.3 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.2998, allocations: 101 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.2998, allocations: 119.8 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.255e-05/0.2999, allocations: 180.3 kB / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-05/0.3, allocations: 184.2 kB / 0.9545 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000134/0.3001, allocations: 176.3 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.3005, allocations: 409.2 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-05/0.3005, allocations: 108.9 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.3006, allocations: 101 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.3007, allocations: 184.2 kB / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/0.3008, allocations: 180.3 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001432/0.3009, allocations: 180.6 kB / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.26e-05/0.301, allocations: 180.2 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.3012, allocations: 311.7 kB / 0.9563 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.3013, allocations: 190.1 kB / 0.9564 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/0.3014, allocations: 180.2 kB / 0.9566 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3016, allocations: 104.9 kB / 0.9567 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.3017, allocations: 180.3 kB / 0.9569 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.3018, allocations: 108.9 kB / 0.957 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.3018, allocations: 83.27 kB / 0.9571 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3018, allocations: 0 / 0.9571 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003273/0.3022, allocations: 0 / 0.9571 GB, free: 1.457 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: 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.0002296/0.3024, allocations: 174.5 kB / 0.9572 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.344e-05/0.3025, allocations: 0 / 0.9572 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3025, allocations: 0 / 0.9572 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.3025, allocations: 0 / 0.9572 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3029, allocations: 470 kB / 0.9577 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.3031, allocations: 181.9 kB / 0.9578 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3034, allocations: 0.6805 MB / 0.9585 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.3034, allocations: 7.438 kB / 0.9585 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.3034, allocations: 0 / 0.9585 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of Templates: time 0.001433/0.3049, allocations: 323.8 kB / 0.9588 GB, free: 15.57 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches