Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 109.2 kB / 15.99 MB, free: 5.91 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.0012/0.0012, allocations: 191.5 kB / 16.91 MB, free: 5.758 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 65.64 kB / 0.9083 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3143, allocations: 159.1 MB / 1.064 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002377/0.3167, allocations: 0.9129 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3183, allocations: 1.17 MB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3185, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.3186, allocations: 23.8 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.3187, allocations: 11.94 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.3193, allocations: 126.4 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.3195, allocations: 179.6 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3197, allocations: 45.33 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3198, allocations: 51.84 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3199, allocations: 55.75 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.3199, allocations: 12 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.32, allocations: 35.92 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.32, allocations: 8 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.3201, allocations: 59.72 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3203, allocations: 135.9 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3203, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3203, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3203, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005566/0.3209, allocations: 436.8 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3209, allocations: 8.625 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.321, allocations: 12.84 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.3213, allocations: 220 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3213, allocations: 4.375 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3213, allocations: 16.31 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3215, allocations: 76.81 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3215, allocations: 4.125 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3215, allocations: 7.938 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3215, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.3216, allocations: 27.92 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.3222, allocations: 0.5399 MB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.3222, allocations: 30.56 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.3223, allocations: 12.92 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3223, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.3225, allocations: 71.33 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.3225, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002248/0.3227, allocations: 77.58 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3228, allocations: 51.41 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.323, allocations: 179.3 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.323, allocations: 29.7 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.3231, allocations: 112 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.3231, allocations: 7.906 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.3232, allocations: 29.7 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3233, allocations: 322.8 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.3234, allocations: 35.98 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.476e-05/0.3235, allocations: 62.48 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3236, allocations: 96.2 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3236, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002848/0.3239, allocations: 167.2 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.324, allocations: 35.73 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.324, allocations: 0 / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.324, allocations: 0 / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.3241, allocations: 11.92 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3241, allocations: 4.062 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3243, allocations: 39.88 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.3243, allocations: 4 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.602e-05/0.3244, allocations: 123.8 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.3245, allocations: 7.906 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.3245, allocations: 12.94 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3245, allocations: 240 / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3245, allocations: 4 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3245, allocations: 3.938 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.3247, allocations: 197.6 kB / 1.069 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3247, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.3247, allocations: 3.938 kB / 1.069 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3247, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3247, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3247, allocations: 7.984 kB / 1.069 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3247, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.3249, allocations: 100.9 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.3249, allocations: 84.92 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3249, allocations: 4 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.636e-05/0.325, allocations: 3.984 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.325, allocations: 3.938 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.325, allocations: 4 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001151/0.3251, allocations: 124 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3251, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002248/0.3254, allocations: 20 kB / 1.07 GB, free: 8.75 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: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001502/0.3255, allocations: 115.2 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3258, allocations: 139.3 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3258, allocations: 0 / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.3258, allocations: 15.94 kB / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3261, allocations: 24.86 kB / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.3265, allocations: 236.3 kB / 1.07 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.3267, allocations: 0.7002 MB / 1.071 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3267, allocations: 15.44 kB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3267, allocations: 0 / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.003281/0.33, allocations: 1.443 MB / 1.072 GB, free: 5.996 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches