Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.001103/0.001103, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.46/1.46, 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 9.1.2-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 65.56 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3093, allocations: 140.4 MB / 0.9512 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001798/0.3112, allocations: 0.5737 MB / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 3.622e-05/0.3112, allocations: 0 / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.3113, allocations: 0 / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.3113, allocations: 0 / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.075e-05/0.3113, allocations: 3.938 kB / 0.9517 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.541e-05/0.3114, allocations: 0 / 0.9517 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.892e-05/0.3114, allocations: 8 kB / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.3115, allocations: 0 / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.3115, allocations: 7.938 kB / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.3115, allocations: 0 / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.3115, allocations: 0 / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.3115, allocations: 0 / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.3116, allocations: 0 / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.3116, allocations: 11.92 kB / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.451e-05/0.3117, allocations: 3.984 kB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3117, allocations: 0 / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3117, allocations: 0 / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3117, allocations: 0 / 0.9518 GB, free: 7.383 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.0002897/0.312, allocations: 323.5 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.312, allocations: 12.02 kB / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.3121, allocations: 0.9375 kB / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3122, allocations: 164.4 kB / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3122, allocations: 384 / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.3122, allocations: 384 / 0.9522 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.3123, allocations: 30.2 kB / 0.9523 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.3123, allocations: 192 / 0.9523 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3123, allocations: 7.938 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3123, allocations: 7.984 kB / 0.9523 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.342e-05/0.3124, allocations: 4 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.3127, allocations: 379.5 kB / 0.9526 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.747e-05/0.3128, allocations: 173.1 kB / 0.9528 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.3128, allocations: 88.08 kB / 0.9529 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.3128, allocations: 79.28 kB / 0.953 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3129, allocations: 105.8 kB / 0.9531 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3129, allocations: 4 kB / 0.9531 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.694e-05/0.313, allocations: 29.69 kB / 0.9531 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.313, allocations: 126.7 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.3131, allocations: 97.86 kB / 0.9533 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.3131, allocations: 25.83 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.3132, allocations: 84.14 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.3132, allocations: 0 / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.3132, allocations: 13.66 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3133, allocations: 314.8 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.3133, allocations: 3.938 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-06/0.3133, allocations: 0 / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.3134, allocations: 79.27 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.548e-05/0.3134, allocations: 79.28 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.263e-05/0.3135, allocations: 35.75 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.3135, allocations: 81.16 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.3135, allocations: 87.14 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.564e-05/0.3136, allocations: 154.6 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.798e-05/0.3136, allocations: 79.28 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.626e-05/0.3137, allocations: 154.5 kB / 0.9545 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.3138, allocations: 79.28 kB / 0.9545 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.3138, allocations: 83.2 kB / 0.9546 GB, free: 4.227 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.0001099/0.3139, allocations: 264.3 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.314, allocations: 105 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.314, allocations: 104.1 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-05/0.3141, allocations: 188.2 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.809e-05/0.3142, allocations: 180.2 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.444e-05/0.3142, allocations: 180.2 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.3145, allocations: 405.2 kB / 0.956 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/0.3145, allocations: 109 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.3146, allocations: 104.9 kB / 0.9562 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.54e-05/0.3146, allocations: 180.3 kB / 0.9563 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.3147, allocations: 180.2 kB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.696e-05/0.3148, allocations: 180.6 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.885e-05/0.3148, allocations: 180.3 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.315, allocations: 315.7 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.3151, allocations: 182 kB / 0.9573 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.3152, allocations: 184.2 kB / 0.9575 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.641e-05/0.3152, allocations: 109 kB / 0.9576 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.3153, allocations: 180.2 kB / 0.9578 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.3153, allocations: 101 kB / 0.9579 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.3154, allocations: 83.28 kB / 0.958 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3154, allocations: 0 / 0.958 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002681/0.3157, allocations: 0 / 0.958 GB, free: 0.5625 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.0001536/0.3158, allocations: 182.5 kB / 0.9581 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.602e-05/0.3159, allocations: 7.938 kB / 0.9581 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3159, allocations: 0 / 0.9581 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.3159, allocations: 0 / 0.9581 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3163, allocations: 463.7 kB / 0.9586 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.3165, allocations: 156.3 kB / 0.9587 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3168, allocations: 0.6727 MB / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.676e-06/0.3168, allocations: 0 / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.3168, allocations: 11.42 kB / 0.9594 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.3168, allocations: 0 / 0.9594 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.001889/0.3187, allocations: 165 kB / 0.9596 GB, free: 14.86 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches