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.00108/0.00108, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 185.4 kB / 16.92 MB, free: 6.895 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.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.518/2.518, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003989, allocations: 8 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7614, allocations: 142.4 MB / 0.9557 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0007261/0.7622, allocations: 318.8 kB / 0.956 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.614e-05/0.7623, allocations: 9.078 kB / 0.956 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.7623, allocations: 0 / 0.956 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.7623, allocations: 0 / 0.956 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.648e-05/0.7623, allocations: 0 / 0.956 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.234e-05/0.7624, allocations: 1.188 kB / 0.956 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.7624, allocations: 5.25 kB / 0.9561 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.7625, allocations: 1.031 kB / 0.9561 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.7625, allocations: 1.281 kB / 0.9561 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.766e-05/0.7625, allocations: 3.938 kB / 0.9561 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.7626, allocations: 4 kB / 0.9561 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-06/0.7626, allocations: 0 / 0.9561 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.7626, allocations: 5.203 kB / 0.9561 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.7626, allocations: 25.7 kB / 0.9561 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.438e-05/0.7627, allocations: 1.094 kB / 0.9561 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7627, allocations: 0 / 0.9561 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7627, allocations: 1.219 kB / 0.9561 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.7627, allocations: 0 / 0.9561 GB, free: 7.656 MB / 0.7169 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.0002072/0.7629, allocations: 312.6 kB / 0.9564 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.763, allocations: 14.41 kB / 0.9564 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.763, allocations: 0.9375 kB / 0.9564 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.095e-05/0.7631, allocations: 165.5 kB / 0.9566 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.7631, allocations: 384 / 0.9566 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.7631, allocations: 1.406 kB / 0.9566 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.558e-05/0.7632, allocations: 27.3 kB / 0.9566 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.7632, allocations: 5.297 kB / 0.9566 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.7632, allocations: 3.938 kB / 0.9566 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7632, allocations: 0 / 0.9566 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.507e-05/0.7632, allocations: 6.219 kB / 0.9566 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.7635, allocations: 387 kB / 0.957 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.7635, allocations: 173 kB / 0.9571 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.7635, allocations: 89.34 kB / 0.9572 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.7636, allocations: 79.22 kB / 0.9573 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.7636, allocations: 111.1 kB / 0.9574 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.7636, allocations: 0 / 0.9574 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.462e-05/0.7637, allocations: 26.83 kB / 0.9574 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.7637, allocations: 126.7 kB / 0.9576 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.643e-05/0.7638, allocations: 97.3 kB / 0.9576 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.7638, allocations: 26.89 kB / 0.9577 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.572e-05/0.7638, allocations: 88.25 kB / 0.9578 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.7638, allocations: 0 / 0.9578 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.7638, allocations: 9.719 kB / 0.9578 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.7639, allocations: 311.8 kB / 0.9581 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-06/0.7639, allocations: 1.094 kB / 0.9581 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-06/0.7639, allocations: 3.938 kB / 0.9581 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.106e-05/0.7639, allocations: 75.28 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.7639, allocations: 76.28 kB / 0.9582 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.984e-05/0.764, allocations: 31.83 kB / 0.9582 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.764, allocations: 86.03 kB / 0.9583 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.764, allocations: 76.41 kB / 0.9584 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.7641, allocations: 154.5 kB / 0.9585 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.176e-05/0.7641, allocations: 84.3 kB / 0.9586 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.7641, allocations: 159.7 kB / 0.9588 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.7642, allocations: 80.28 kB / 0.9589 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.7642, allocations: 80.38 kB / 0.9589 GB, free: 4.559 MB / 0.7169 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 5.608e-05/0.7642, allocations: 265.5 kB / 0.9592 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.7643, allocations: 102 kB / 0.9593 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.7643, allocations: 116.9 kB / 0.9594 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.7643, allocations: 182.8 kB / 0.9596 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.7644, allocations: 181.4 kB / 0.9597 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/0.7644, allocations: 177.5 kB / 0.9599 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.7645, allocations: 411.2 kB / 0.9603 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.7646, allocations: 101 kB / 0.9604 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.7646, allocations: 106 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.271e-05/0.7646, allocations: 177.8 kB / 0.9607 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.7646, allocations: 185.1 kB / 0.9608 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-05/0.7647, allocations: 185.1 kB / 0.961 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-05/0.7647, allocations: 177.6 kB / 0.9612 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.098e-05/0.7648, allocations: 307.5 kB / 0.9615 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.7648, allocations: 195.1 kB / 0.9617 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.7648, allocations: 181.4 kB / 0.9618 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.7649, allocations: 110.1 kB / 0.9619 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.7649, allocations: 181.3 kB / 0.9621 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.765, allocations: 102.2 kB / 0.9622 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.972e-05/0.765, allocations: 85.58 kB / 0.9623 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.765, allocations: 0 / 0.9623 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002359/0.7652, allocations: 0 / 0.9623 GB, free: 0.9062 MB / 0.7169 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.0001145/0.7653, allocations: 173.1 kB / 0.9625 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.641e-05/0.7654, allocations: 5.188 kB / 0.9625 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7654, allocations: 0 / 0.9625 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.7654, allocations: 1.344 kB / 0.9625 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.7657, allocations: 0.5273 MB / 0.963 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001647/0.7659, allocations: 172.5 kB / 0.9632 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.7661, allocations: 0.6742 MB / 0.9638 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.7661, allocations: 8.719 kB / 0.9638 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.7661, allocations: 0 / 0.9638 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.001367/0.7675, allocations: 322.4 kB / 0.9641 GB, free: 15.15 MB / 0.7325 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 -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