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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.00109/0.00109, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 189.4 kB / 16.66 MB, free: 6.582 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.642/2.642, allocations: 469.4 MB / 0.7421 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2599, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002049/0.2619, allocations: 0.8601 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2633, allocations: 1.17 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.2634, allocations: 7.938 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.2635, allocations: 23.8 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.2636, allocations: 19.8 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.264, allocations: 147.6 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.2642, allocations: 171.6 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2644, allocations: 41.34 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.2645, allocations: 67.77 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.2646, allocations: 51.7 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.2646, allocations: 12 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.2647, allocations: 31.98 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.2647, allocations: 15.92 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.2648, allocations: 67.64 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.265, allocations: 167.4 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.265, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.12e-07/0.265, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.265, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 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.00048/0.2655, allocations: 440.7 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2656, allocations: 8.031 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.2656, allocations: 38.75 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.2656, allocations: 12.89 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.2659, allocations: 220.2 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2659, allocations: 16.3 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.2659, allocations: 8.375 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2661, allocations: 88.75 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2661, allocations: 3.938 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2661, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2661, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.2662, allocations: 35.92 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.2667, allocations: 0.5321 MB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/0.2667, allocations: 30.56 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.2668, allocations: 12.92 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.2668, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.2669, allocations: 67.33 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2669, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001883/0.2671, allocations: 77.59 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2671, allocations: 59.39 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2673, allocations: 171.3 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2673, allocations: 29.7 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.2674, allocations: 116.1 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.2674, allocations: 3.953 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.2675, allocations: 29.7 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.2676, allocations: 322.8 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.2677, allocations: 35.98 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/0.2678, allocations: 62.48 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.2679, allocations: 92.34 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2679, allocations: 7.984 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002699/0.2682, allocations: 163.2 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.2682, allocations: 33.7 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2682, allocations: 11.88 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2683, allocations: 0 / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.2683, allocations: 4 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2683, allocations: 7.875 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.2685, allocations: 35.97 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.2685, allocations: 4 kB / 1.225 GB, free: 8.762 MB / 0.9825 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.554e-05/0.2686, allocations: 117.8 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.2687, allocations: 7.953 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.2687, allocations: 16.92 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2687, allocations: 0 / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2687, allocations: 3.938 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2687, allocations: 4 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2689, allocations: 193.6 kB / 1.225 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2689, allocations: 4 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.2689, allocations: 0 / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2689, allocations: 0 / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2689, allocations: 0 / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2689, allocations: 4 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2689, allocations: 3.938 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.269, allocations: 109.2 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.2691, allocations: 81.06 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2691, allocations: 4 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.2691, allocations: 0 / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.2692, allocations: 11.92 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.2692, allocations: 4 kB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.2693, allocations: 120 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2693, allocations: 0 / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002217/0.2695, allocations: 24 kB / 1.226 GB, free: 7.969 MB / 0.9825 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.0003683/0.2699, allocations: 0.6436 MB / 1.226 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.2701, allocations: 131.4 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2701, allocations: 4 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.2702, allocations: 19.92 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2704, allocations: 32 kB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.272, allocations: 1.657 MB / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2722, allocations: 0.6963 MB / 1.229 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.2723, allocations: 12.42 kB / 1.229 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.2723, allocations: 31.42 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.2723, allocations: 3.938 kB / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.2901, allocations: 2.828 MB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/7.809, allocations: 14.11 kB / 1.232 GB, free: 1.895 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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