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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001971/0.001971, allocations: 102.5 kB / 16.27 MB, free: 5.859 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.001728/0.001728, allocations: 187 kB / 17.19 MB, free: 5.512 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.617/2.617, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 64.98 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7072, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001663/0.7089, allocations: 0.5788 MB / 1.084 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.602e-05/0.709, allocations: 4.797 kB / 1.084 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.709, allocations: 5.406 kB / 1.084 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.7091, allocations: 0 / 1.084 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.055e-05/0.7091, allocations: 0 / 1.084 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.666e-05/0.7091, allocations: 0 / 1.084 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.651e-05/0.7092, allocations: 6.047 kB / 1.084 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.7092, allocations: 1.891 kB / 1.084 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.201e-05/0.7092, allocations: 5.219 kB / 1.084 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.48e-05/0.7093, allocations: 0.7969 kB / 1.084 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.7093, allocations: 0 / 1.084 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-06/0.7093, allocations: 1.094 kB / 1.084 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.7093, allocations: 0 / 1.084 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.7093, allocations: 4.531 kB / 1.084 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.625e-05/0.7094, allocations: 6.297 kB / 1.084 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7094, allocations: 0.5312 kB / 1.084 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7094, allocations: 0 / 1.084 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.7094, allocations: 1.062 kB / 1.084 GB, free: 1.262 MB / 0.8262 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.0001967/0.7096, allocations: 312.1 kB / 1.084 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.7096, allocations: 10.66 kB / 1.084 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.7097, allocations: 5.688 kB / 1.084 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.205e-05/0.7097, allocations: 163 kB / 1.084 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.7097, allocations: 384 / 1.084 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.7098, allocations: 5.016 kB / 1.084 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.49e-05/0.7098, allocations: 32.17 kB / 1.084 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7098, allocations: 4.766 kB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.7098, allocations: 3.938 kB / 1.084 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.7099, allocations: 5.562 kB / 1.084 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.211e-05/0.7099, allocations: 0.6562 kB / 1.084 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.7101, allocations: 378.5 kB / 1.084 GB, free: 252 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.078e-05/0.7101, allocations: 174 kB / 1.085 GB, free: 68 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.7102, allocations: 82.36 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.7102, allocations: 79.28 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.7103, allocations: 107.9 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.7103, allocations: 0 / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.647e-05/0.7103, allocations: 27.28 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.7104, allocations: 130.6 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.7105, allocations: 98.73 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.7105, allocations: 29.83 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.7106, allocations: 82.17 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.7106, allocations: 3.938 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.7106, allocations: 14.94 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7107, allocations: 312.7 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-06/0.7107, allocations: 0 / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-06/0.7107, allocations: 0.75 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.7108, allocations: 75.28 kB / 1.086 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.299e-05/0.7108, allocations: 84.34 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.64e-05/0.7109, allocations: 37.28 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.7109, allocations: 80.31 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.759e-05/0.711, allocations: 80.41 kB / 1.086 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.891e-05/0.711, allocations: 152.2 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.331e-05/0.7111, allocations: 84.7 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.074e-05/0.7111, allocations: 152.2 kB / 1.086 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.7112, allocations: 81.14 kB / 1.086 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.7112, allocations: 80.31 kB / 1.086 GB, free: 14.18 MB / 0.8419 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.0001284/0.7114, allocations: 266.7 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.7114, allocations: 102.8 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.7115, allocations: 110.6 kB / 1.087 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-05/0.7116, allocations: 183.3 kB / 1.087 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.159e-05/0.7117, allocations: 177.6 kB / 1.087 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-05/0.7117, allocations: 186.3 kB / 1.087 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.712, allocations: 402.1 kB / 1.088 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.35e-05/0.712, allocations: 106.7 kB / 1.088 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.7121, allocations: 101.7 kB / 1.088 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.106e-05/0.7122, allocations: 182.5 kB / 1.088 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.7122, allocations: 185.8 kB / 1.088 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.032e-05/0.7123, allocations: 178.8 kB / 1.088 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.908e-05/0.7124, allocations: 184.9 kB / 1.089 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.7125, allocations: 317.4 kB / 1.089 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.7126, allocations: 181.3 kB / 1.089 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.611e-05/0.7127, allocations: 178.3 kB / 1.089 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.7128, allocations: 106.4 kB / 1.089 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.7129, allocations: 177.5 kB / 1.09 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.7129, allocations: 115 kB / 1.09 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.713, allocations: 82.27 kB / 1.09 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.004e-06/0.713, allocations: 0 / 1.09 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002649/0.7133, allocations: 5.094 kB / 1.09 GB, free: 10.55 MB / 0.8419 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.0001382/0.7134, allocations: 173.7 kB / 1.09 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 3.137e-05/0.7134, allocations: 1.719 kB / 1.09 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7134, allocations: 0 / 1.09 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.7135, allocations: 4.781 kB / 1.09 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.7138, allocations: 457.5 kB / 1.09 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.7141, allocations: 188.5 kB / 1.091 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.7143, allocations: 0.6752 MB / 1.091 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.7144, allocations: 7.438 kB / 1.091 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.7144, allocations: 4 kB / 1.091 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.001459/0.7158, allocations: 325.4 kB / 1.092 GB, free: 9.008 MB / 0.8419 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=400 -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/jenkins1/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