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.001457/0.001457, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001625/0.001625, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.15 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.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9405/0.9424, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001625/0.9441, allocations: 0.5559 MB / 1.089 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.263e-05/0.9441, allocations: 3.938 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.9442, allocations: 0 / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.9442, allocations: 1.5 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.9442, allocations: 3.938 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.099e-05/0.9443, allocations: 0.75 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.9443, allocations: 5.219 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.9444, allocations: 1.797 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.517e-05/0.9444, allocations: 0.9062 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.887e-05/0.9444, allocations: 4.609 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.9445, allocations: 1.188 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.9445, allocations: 4 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.9445, allocations: 3.938 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.9445, allocations: 1.562 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.119e-05/0.9446, allocations: 6.812 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9446, allocations: 0.6094 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9446, allocations: 0 / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.9446, allocations: 0 / 1.089 GB, free: 5.156 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.0002362/0.9448, allocations: 308.4 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.9449, allocations: 10.92 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.9449, allocations: 8.938 kB / 1.09 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.454e-05/0.945, allocations: 162.4 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.945, allocations: 4.828 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.945, allocations: 1.531 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.524e-05/0.9451, allocations: 28.05 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.9451, allocations: 1.312 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.9451, allocations: 7.922 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.9451, allocations: 0 / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.529e-05/0.9452, allocations: 1.859 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.9454, allocations: 382.7 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.9455, allocations: 175 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.9455, allocations: 84.08 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.9455, allocations: 76.91 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.9455, allocations: 114.6 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.9455, allocations: 0 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.061e-05/0.9456, allocations: 31.47 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.9456, allocations: 128 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.9457, allocations: 94.27 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.9457, allocations: 25.7 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.33e-05/0.9457, allocations: 80.84 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.9457, allocations: 5.375 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.9458, allocations: 14.91 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.9458, allocations: 311.5 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-06/0.9458, allocations: 1.031 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-06/0.9458, allocations: 0.7031 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.18e-05/0.9458, allocations: 76.47 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.9459, allocations: 79.22 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.769e-05/0.9459, allocations: 33.23 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.9459, allocations: 85.38 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.946, allocations: 79.25 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.946, allocations: 156.6 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.211e-05/0.946, allocations: 80.91 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.946, allocations: 156.5 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.9461, allocations: 75.89 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.9461, allocations: 84.22 kB / 1.092 GB, free: 2.082 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.0001241/0.9462, allocations: 262.6 kB / 1.092 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.9463, allocations: 103.8 kB / 1.092 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.9464, allocations: 110.6 kB / 1.092 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.595e-05/0.9464, allocations: 180.9 kB / 1.093 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.911e-05/0.9465, allocations: 185.9 kB / 1.093 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-05/0.9466, allocations: 178.4 kB / 1.093 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.9468, allocations: 401 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/0.9468, allocations: 114.7 kB / 1.094 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.9469, allocations: 102.7 kB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.788e-05/0.9469, allocations: 182.2 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.947, allocations: 182.1 kB / 1.094 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.868e-05/0.9471, allocations: 178.8 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.555e-05/0.9472, allocations: 188.8 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.9473, allocations: 313.5 kB / 1.095 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.9474, allocations: 184.4 kB / 1.095 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.9475, allocations: 178.8 kB / 1.095 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.9475, allocations: 110.6 kB / 1.095 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.9476, allocations: 182.1 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.9477, allocations: 106.5 kB / 1.095 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.9477, allocations: 77.92 kB / 1.095 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9477, allocations: 4.094 kB / 1.095 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002615/0.948, allocations: 0.8438 kB / 1.095 GB, free: 14.45 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.0001505/0.9481, allocations: 177.1 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.953e-05/0.9482, allocations: 1.781 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9482, allocations: 0 / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.9482, allocations: 1.219 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.9486, allocations: 465.5 kB / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.9488, allocations: 176.1 kB / 1.096 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.9491, allocations: 0.6713 MB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.9491, allocations: 9.094 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9491, allocations: 0 / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.001598/0.9507, allocations: 329.3 kB / 1.097 GB, free: 12.91 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/jenkins1/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