Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009126, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006543/0.006543, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.678/1.678, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.153/3.153, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 9.375 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4215, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0008953/0.4224, allocations: 323.4 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.898e-05/0.4225, allocations: 0 / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.4225, allocations: 0 / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.4226, allocations: 4 kB / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.129e-05/0.4226, allocations: 3.938 kB / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.922e-05/0.4226, allocations: 0 / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.4227, allocations: 4 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.4228, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.4228, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.292e-05/0.4228, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.4228, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-06/0.4229, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.4229, allocations: 4 kB / 1.059 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.4229, allocations: 33.64 kB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.951e-05/0.423, allocations: 7.984 kB / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.423, allocations: 0 / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.775e-06/0.423, allocations: 0 / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.423, allocations: 0 / 1.059 GB, free: 5.059 MB / 0.8106 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.0003847/0.4234, allocations: 307.5 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4235, allocations: 12.03 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.4235, allocations: 0.9375 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.4237, allocations: 164.4 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.4237, allocations: 4.359 kB / 1.06 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.4237, allocations: 4.375 kB / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/0.4238, allocations: 34.27 kB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.4238, allocations: 4.125 kB / 1.06 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.4238, allocations: 3.938 kB / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4238, allocations: 0 / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.402e-05/0.4239, allocations: 0 / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.4242, allocations: 379.5 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.4243, allocations: 177.1 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.4243, allocations: 84.08 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.4243, allocations: 75.28 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4244, allocations: 105.8 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.4244, allocations: 0 / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.863e-05/0.4245, allocations: 29.7 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.4245, allocations: 130.7 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.4246, allocations: 97.84 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.4246, allocations: 25.7 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.4247, allocations: 88.11 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.4247, allocations: 0 / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.4247, allocations: 13.66 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4248, allocations: 315 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-06/0.4248, allocations: 7.938 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-06/0.4248, allocations: 0 / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.4249, allocations: 75.28 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/0.4249, allocations: 75.28 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.673e-05/0.4249, allocations: 37.64 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.425, allocations: 84.52 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.425, allocations: 79.22 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-05/0.4251, allocations: 158.6 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.404e-05/0.4251, allocations: 75.28 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-05/0.4252, allocations: 154.5 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.4252, allocations: 75.28 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.4253, allocations: 83.22 kB / 1.062 GB, free: 1.926 MB / 0.8106 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.0001028/0.4254, allocations: 264.3 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.4254, allocations: 109 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.4255, allocations: 108.1 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/0.4255, allocations: 180.2 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.455e-05/0.4256, allocations: 176.3 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.161e-05/0.4257, allocations: 184.2 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.4259, allocations: 409.4 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-05/0.426, allocations: 101 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.426, allocations: 109 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-05/0.4261, allocations: 184.2 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/0.4262, allocations: 188.2 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-05/0.4262, allocations: 176.3 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-05/0.4263, allocations: 180.3 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4265, allocations: 311.7 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.4265, allocations: 182 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.4266, allocations: 180.3 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.4267, allocations: 109 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.4268, allocations: 184.2 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.4268, allocations: 101 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.011e-05/0.4269, allocations: 83.28 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4269, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002363/0.4271, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8262 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.0001788/0.4273, allocations: 182.6 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.717e-05/0.4273, allocations: 3.938 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4274, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.4274, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.4278, allocations: 0.5262 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.428, allocations: 161.9 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.4282, allocations: 0.6692 MB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.564e-06/0.4282, allocations: 0 / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.4282, allocations: 7.438 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of SimCode: time 4.9e-07/0.4282, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.001902/0.4301, allocations: 156.8 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches