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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00548/0.00548, allocations: 103 kB / 15.73 MB, free: 6.051 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.001196/0.001196, allocations: 193 kB / 16.67 MB, free: 5.98 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.91 kB / 1.054 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2953, allocations: 157.4 MB / 1.207 GB, free: 10.22 MB / 0.9669 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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002572/0.298, allocations: 0.8434 MB / 1.208 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2997, allocations: 1.182 MB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.2999, allocations: 4 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3, allocations: 27.73 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.3001, allocations: 15.86 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.3007, allocations: 142.3 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.301, allocations: 179.6 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3011, allocations: 41.34 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.3012, allocations: 55.84 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3014, allocations: 59.73 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.3014, allocations: 12 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.3015, allocations: 35.92 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.3015, allocations: 7.938 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.316e-05/0.3016, allocations: 63.72 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.3019, allocations: 171.7 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3019, allocations: 0 / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3019, allocations: 0 / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3019, allocations: 0 / 1.21 GB, free: 7.379 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005526/0.3025, allocations: 436.7 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3025, allocations: 8.625 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.3026, allocations: 38.75 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.3026, allocations: 24.77 kB / 1.211 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3029, allocations: 216.1 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3029, allocations: 4.375 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.303, allocations: 12.38 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3031, allocations: 92.69 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3031, allocations: 11.88 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3032, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3032, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.099e-05/0.3032, allocations: 31.97 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.3039, allocations: 0.5359 MB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.304, allocations: 30.56 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.304, allocations: 16.86 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.304, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.3042, allocations: 63.39 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3042, allocations: 4 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002258/0.3044, allocations: 77.58 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3045, allocations: 59.34 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3046, allocations: 171.2 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3047, allocations: 29.7 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.3048, allocations: 108.1 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.3048, allocations: 7.906 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.3049, allocations: 33.64 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.305, allocations: 326.8 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3051, allocations: 35.98 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3052, allocations: 58.55 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3054, allocations: 92.2 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3054, allocations: 0 / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000305/0.3057, allocations: 175.1 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.3057, allocations: 33.7 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3057, allocations: 4 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3058, allocations: 0 / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.3058, allocations: 11.92 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3059, allocations: 3.938 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.3061, allocations: 23.97 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3061, allocations: 4 kB / 1.213 GB, free: 4.34 MB / 0.9669 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 0.0001013/0.3062, allocations: 121.9 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.3062, allocations: 7.906 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3063, allocations: 16.92 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3063, allocations: 0 / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3063, allocations: 4 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3063, allocations: 4 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3064, allocations: 189.6 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3065, allocations: 4 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.3065, allocations: 3.938 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3065, allocations: 0 / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3065, allocations: 4 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3065, allocations: 4 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3065, allocations: 3.938 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.3067, allocations: 96.92 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.3067, allocations: 81.02 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3067, allocations: 4 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.31e-05/0.3068, allocations: 0 / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.3068, allocations: 11.92 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3068, allocations: 8 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001085/0.3069, allocations: 124.9 kB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3069, allocations: 0 / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002314/0.3072, allocations: 23.94 kB / 1.213 GB, free: 3.547 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: 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.0005072/0.3077, allocations: 0.6438 MB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.308, allocations: 139.3 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.308, allocations: 0 / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.308, allocations: 15.98 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3083, allocations: 33.98 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3102, allocations: 1.643 MB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3104, allocations: 0.7001 MB / 1.216 GB, free: 212 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.3105, allocations: 8.422 kB / 1.216 GB, free: 204 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.3105, allocations: 31.42 kB / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.3106, allocations: 0 / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3326, allocations: 2.829 MB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.134, allocations: 6.5 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > 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