Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006534/0.006534, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001312/0.001312, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 67.89 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.128, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001746/1.129, allocations: 0.5571 MB / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.3e-05/1.129, allocations: 1.031 kB / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/1.129, allocations: 0.9375 kB / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/1.129, allocations: 3.938 kB / 1.088 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.94e-05/1.129, allocations: 4 kB / 1.088 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.393e-05/1.13, allocations: 1.094 kB / 1.088 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.747e-05/1.13, allocations: 5.531 kB / 1.088 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/1.13, allocations: 1.375 kB / 1.088 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/1.13, allocations: 5.625 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2e-05/1.13, allocations: 0 / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/1.13, allocations: 0.7188 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-06/1.13, allocations: 1.094 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/1.13, allocations: 3.938 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/1.13, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.356e-05/1.13, allocations: 4.062 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.13, allocations: 4 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/1.13, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.13, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 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.0002459/1.13, allocations: 316.2 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.13, allocations: 9.031 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/1.13, allocations: 2 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/1.13, allocations: 161.2 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.13, allocations: 6.25 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/1.13, allocations: 384 / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/1.13, allocations: 37.06 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.13, allocations: 192 / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.13, allocations: 5.062 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.13, allocations: 0 / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/1.13, allocations: 1.062 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/1.131, allocations: 378.6 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.813e-05/1.131, allocations: 178.8 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/1.131, allocations: 81.23 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/1.131, allocations: 83.22 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/1.131, allocations: 107.6 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.131, allocations: 0 / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.262e-05/1.131, allocations: 27.39 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/1.131, allocations: 132.3 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/1.131, allocations: 94.11 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/1.131, allocations: 29.64 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.533e-05/1.131, allocations: 89.28 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/1.131, allocations: 0 / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/1.131, allocations: 15.14 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/1.131, allocations: 312.8 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/1.131, allocations: 4.125 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-06/1.131, allocations: 1.125 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.031e-05/1.131, allocations: 75.28 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/1.131, allocations: 76.41 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.475e-05/1.131, allocations: 32.78 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.131, allocations: 81.25 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.131, allocations: 80.14 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/1.131, allocations: 159.9 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.155e-05/1.131, allocations: 81.48 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/1.131, allocations: 155.9 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/1.131, allocations: 75.89 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/1.131, allocations: 81.33 kB / 1.091 GB, free: 2.066 MB / 0.8575 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.0001184/1.131, allocations: 262.3 kB / 1.092 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/1.132, allocations: 111 kB / 1.092 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/1.132, allocations: 114.8 kB / 1.092 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-05/1.132, allocations: 178.3 kB / 1.092 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.471e-05/1.132, allocations: 176.3 kB / 1.092 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.737e-05/1.132, allocations: 182 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/1.132, allocations: 410.5 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.225e-05/1.132, allocations: 106.7 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/1.132, allocations: 101.7 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.535e-05/1.132, allocations: 178.7 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/1.132, allocations: 181.5 kB / 1.093 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.48e-05/1.132, allocations: 178.5 kB / 1.093 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-05/1.132, allocations: 189.9 kB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/1.132, allocations: 313 kB / 1.094 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/1.133, allocations: 185.3 kB / 1.094 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/1.133, allocations: 182.1 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/1.133, allocations: 118.6 kB / 1.094 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/1.133, allocations: 177.9 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/1.133, allocations: 101.6 kB / 1.095 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.474e-05/1.133, allocations: 78.78 kB / 1.095 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.92e-07/1.133, allocations: 1.344 kB / 1.095 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002464/1.133, allocations: 3.938 kB / 1.095 GB, free: 14.43 MB / 0.8731 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.0001343/1.133, allocations: 178.8 kB / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.279e-05/1.133, allocations: 0.9688 kB / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.133, allocations: 0 / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/1.133, allocations: 0 / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/1.134, allocations: 462.8 kB / 1.095 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/1.134, allocations: 157.4 kB / 1.095 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/1.134, allocations: 0.6711 MB / 1.096 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.464e-06/1.134, allocations: 0.9688 kB / 1.096 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/1.134, allocations: 7.438 kB / 1.096 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of SimCode: time 1.8e-07/1.134, allocations: 3.938 kB / 1.096 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.001803/1.136, allocations: 173.3 kB / 1.096 GB, free: 12.87 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches