Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_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.004327/0.004327, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001289/0.001289, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.196/1.196, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.351/2.351, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 63.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5861/0.5878, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001748/0.5896, allocations: 0.8534 MB / 1.221 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.5909, allocations: 1.166 MB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.5909, allocations: 0 / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.5911, allocations: 27.84 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.5911, allocations: 23.73 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.5916, allocations: 141.7 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 NFFlatten.flatten: time 0.0002111/0.5918, allocations: 175.6 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.5919, allocations: 49.31 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.592, allocations: 55.84 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.5921, allocations: 55.75 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.5921, allocations: 12 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.5922, allocations: 39.97 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.5922, allocations: 7.938 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.5923, allocations: 63.66 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.5925, allocations: 180.2 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.5925, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5925, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.5925, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 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.0004923/0.593, allocations: 431.6 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.593, allocations: 8.031 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.5931, allocations: 38.73 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.5931, allocations: 16.89 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.5934, allocations: 226.8 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.5934, allocations: 8.312 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.5934, allocations: 12.38 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.5936, allocations: 77.72 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5936, allocations: 3.938 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.5936, allocations: 8 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5936, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/0.5937, allocations: 27.92 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.5942, allocations: 0.5399 MB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/0.5942, allocations: 30.58 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.5943, allocations: 8.922 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-06/0.5943, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.5944, allocations: 67.33 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.5944, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001785/0.5946, allocations: 85.58 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.5946, allocations: 51.41 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.0001665/0.5948, allocations: 179.3 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.5948, allocations: 29.7 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.5949, allocations: 104.1 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.5949, allocations: 11.95 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.595, allocations: 29.7 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5951, allocations: 322.8 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.5952, allocations: 35.97 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.5953, allocations: 66.44 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.5954, allocations: 88.27 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5954, allocations: 0 / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002657/0.5957, allocations: 171.2 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.5957, allocations: 35.73 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5957, allocations: 7.984 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.5957, allocations: 128 / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.5958, allocations: 11.94 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5958, allocations: 7.938 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.596, allocations: 31.92 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.596, allocations: 7.938 kB / 1.226 GB, free: 12.18 MB / 0.9512 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 8.631e-05/0.5961, allocations: 122.3 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.5961, allocations: 11.94 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.5962, allocations: 12.94 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.5962, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5962, allocations: 3.938 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.5962, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.5963, allocations: 189.6 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5963, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.5964, allocations: 4.234 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5964, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.5964, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5964, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5964, allocations: 3.938 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.5965, allocations: 112.9 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.5966, allocations: 81.06 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.5966, allocations: 0 / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.5966, allocations: 4 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.5966, allocations: 7.922 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5966, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.484e-05/0.5967, allocations: 128 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.5968, allocations: 0 / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001956/0.597, allocations: 24 kB / 1.226 GB, free: 11.39 MB / 0.9512 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.0003885/0.5973, allocations: 0.6319 MB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.5976, allocations: 135.4 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5976, allocations: 7.938 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.5976, allocations: 24.05 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.5978, allocations: 23.98 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.5995, allocations: 1.665 MB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.5997, allocations: 0.7002 MB / 1.229 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.5998, allocations: 4.438 kB / 1.229 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.5998, allocations: 27.42 kB / 1.229 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of SimCode: time 1.9e-07/0.5998, allocations: 0 / 1.229 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.318/1.918, allocations: 2.828 MB / 1.232 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.71, allocations: 14.23 kB / 1.232 GB, free: 5.32 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches