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.006218/0.006218, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00122/0.00122, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.574/1.574, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.032/3.032, allocations: 461.8 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.89 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4163, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002262/0.4186, allocations: 0.5782 MB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 5.549e-05/0.4187, allocations: 4 kB / 1.208 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.4187, allocations: 3.938 kB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.4188, allocations: 0 / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.517e-05/0.4188, allocations: 0 / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.18e-05/0.4189, allocations: 0 / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.419, allocations: 4 kB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.655e-05/0.419, allocations: 3.984 kB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.4191, allocations: 0 / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.207e-05/0.4191, allocations: 4 kB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.4191, allocations: 0 / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-06/0.4191, allocations: 4 kB / 1.208 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.4191, allocations: 3.984 kB / 1.208 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.4192, allocations: 3.938 kB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.778e-05/0.4193, allocations: 7.938 kB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4193, allocations: 0 / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4193, allocations: 0 / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4193, allocations: 0 / 1.208 GB, free: 9.004 MB / 0.9669 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.000379/0.4197, allocations: 315.6 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4197, allocations: 12.62 kB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.4198, allocations: 4.938 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4199, allocations: 160.4 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4199, allocations: 4.312 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.42, allocations: 384 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.4201, allocations: 34.27 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4201, allocations: 192 / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4201, allocations: 3.938 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4201, allocations: 0 / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.4201, allocations: 3.938 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.4205, allocations: 387.4 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4207, allocations: 169.1 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.4207, allocations: 84.12 kB / 1.209 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.4208, allocations: 75.28 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/0.4209, allocations: 113.9 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/0.4209, allocations: 3.938 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.264e-05/0.421, allocations: 25.7 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.421, allocations: 126.7 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.4211, allocations: 97.86 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.4212, allocations: 25.7 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.4212, allocations: 84.27 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.4212, allocations: 0 / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.4213, allocations: 13.72 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4214, allocations: 314.8 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.4214, allocations: 0 / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-06/0.4214, allocations: 0 / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.4215, allocations: 79.22 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/0.4215, allocations: 79.28 kB / 1.21 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.192e-05/0.4216, allocations: 41.58 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.4216, allocations: 79.28 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/0.4217, allocations: 75.28 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.4218, allocations: 158.5 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/0.4219, allocations: 75.28 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.901e-05/0.4219, allocations: 154.5 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.422, allocations: 79.22 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.4221, allocations: 87.27 kB / 1.211 GB, free: 5.863 MB / 0.9669 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.0001648/0.4223, allocations: 264.3 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.4224, allocations: 104.9 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.4224, allocations: 108.1 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.259e-05/0.4225, allocations: 180.8 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000111/0.4226, allocations: 188.2 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001153/0.4228, allocations: 180.3 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.423, allocations: 413.1 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/0.4231, allocations: 101.3 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.4232, allocations: 101 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/0.4232, allocations: 192.2 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4234, allocations: 184.3 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001102/0.4235, allocations: 184.2 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.801e-05/0.4235, allocations: 176.3 kB / 1.213 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.4237, allocations: 311.7 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.24e-05/0.4238, allocations: 182.1 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.4239, allocations: 184.2 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.424, allocations: 101 kB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.4241, allocations: 180.2 kB / 1.214 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.4241, allocations: 101 kB / 1.214 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.4242, allocations: 87.28 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4242, allocations: 0 / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000289/0.4245, allocations: 3.984 kB / 1.215 GB, free: 2.191 MB / 0.9669 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.0001776/0.4246, allocations: 174.5 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.266e-05/0.4247, allocations: 4 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4247, allocations: 0 / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.698e-06/0.4247, allocations: 3.938 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.4252, allocations: 467.7 kB / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.4255, allocations: 164.2 kB / 1.215 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4258, allocations: 0.6729 MB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.097e-06/0.4259, allocations: 0 / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.4259, allocations: 7.438 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.4259, allocations: 0 / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of Templates: time 0.00231/0.4282, allocations: 168.9 kB / 1.216 GB, free: 492 kB / 0.9669 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