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.007699/0.007699, allocations: 100.9 kB / 15.73 MB, free: 6.445 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.001758/0.001759, allocations: 194.1 kB / 16.68 MB, free: 6.355 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 67.89 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3341, allocations: 157.4 MB / 1.207 GB, free: 10.17 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.002489/0.3367, allocations: 0.8412 MB / 1.208 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3385, allocations: 1.182 MB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3387, allocations: 8 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.3388, allocations: 23.8 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.3389, allocations: 11.81 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.3395, allocations: 148.4 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.3398, allocations: 179.6 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.3399, allocations: 45.28 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.34, allocations: 51.84 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3402, allocations: 59.75 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.3402, allocations: 16 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.3403, allocations: 23.98 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.3404, allocations: 15.94 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.451e-05/0.3405, allocations: 63.66 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3407, allocations: 175.7 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3407, allocations: 4 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3407, allocations: 0 / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3408, allocations: 0 / 1.21 GB, free: 7.324 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.0006431/0.3414, allocations: 424.8 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3415, allocations: 16.62 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.3415, allocations: 34.73 kB / 1.211 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.3416, allocations: 12.84 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3419, allocations: 232 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3419, allocations: 4.375 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.342, allocations: 8.375 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3421, allocations: 92.75 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3421, allocations: 3.938 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3422, allocations: 0 / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3422, allocations: 7.938 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.3422, allocations: 27.92 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.3429, allocations: 0.532 MB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.279e-05/0.343, allocations: 30.58 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.343, allocations: 12.92 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.343, allocations: 3.984 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.3432, allocations: 71.33 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.3432, allocations: 0 / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000241/0.3434, allocations: 81.72 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.3435, allocations: 55.41 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3437, allocations: 175.2 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.3438, allocations: 33.7 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.3438, allocations: 96.14 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.3439, allocations: 15.88 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.3439, allocations: 33.7 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3441, allocations: 318.8 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.3442, allocations: 35.98 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.3443, allocations: 66.48 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3445, allocations: 88.27 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3445, allocations: 0 / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002969/0.3448, allocations: 167.1 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.3448, allocations: 41.69 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3448, allocations: 4.062 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.3449, allocations: 7.938 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.345, allocations: 3.938 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.345, allocations: 3.938 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3452, allocations: 27.97 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.3452, allocations: 4 kB / 1.213 GB, free: 4.293 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.000111/0.3453, allocations: 125.8 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.3454, allocations: 11.91 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.3454, allocations: 12.94 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3454, allocations: 0 / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3454, allocations: 3.938 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3454, allocations: 0 / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.3456, allocations: 185.6 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3456, allocations: 0 / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.3456, allocations: 4 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.3456, allocations: 3.984 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3457, allocations: 3.938 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3457, allocations: 4 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3457, allocations: 8 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3458, allocations: 96.88 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.3459, allocations: 89.02 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.3459, allocations: 3.984 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.3459, allocations: 0 / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.346, allocations: 7.938 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.346, allocations: 0 / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001106/0.3461, allocations: 136.9 kB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3461, allocations: 0 / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002337/0.3463, allocations: 19.94 kB / 1.213 GB, free: 3.496 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.0005016/0.3469, allocations: 0.6358 MB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3471, allocations: 139.4 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3471, allocations: 4 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.3472, allocations: 15.94 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3474, allocations: 25.33 kB / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3493, allocations: 1.646 MB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.3496, allocations: 0.7001 MB / 1.216 GB, free: 168 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.3496, allocations: 8.812 kB / 1.216 GB, free: 160 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.3497, allocations: 31.42 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.3497, allocations: 0 / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.3702, allocations: 2.874 MB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.147, allocations: 10.81 kB / 1.219 GB, free: 13.4 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