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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 211.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.268/3.268, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 66.38 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3602, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.003531/0.3638, allocations: 0.8414 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002458/0.3662, allocations: 1.191 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.3664, allocations: 4 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.3666, allocations: 23.73 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3667, allocations: 19.8 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.3676, allocations: 149.6 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.368, allocations: 171.6 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.3681, allocations: 29.58 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3683, allocations: 55.84 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.3685, allocations: 55.75 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.3685, allocations: 16 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3687, allocations: 27.92 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.3687, allocations: 15.94 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3688, allocations: 47.78 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.3692, allocations: 167.7 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3692, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3692, allocations: 4 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3692, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 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.0008178/0.37, allocations: 359.5 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.3701, allocations: 12.03 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.007e-05/0.3702, allocations: 34.75 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.3703, allocations: 16.88 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.3707, allocations: 166.3 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.3707, allocations: 4.375 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.3707, allocations: 8.359 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.371, allocations: 80.83 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.371, allocations: 7.875 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.371, allocations: 11.92 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.371, allocations: 4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.3711, allocations: 20 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.3719, allocations: 488.1 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/0.372, allocations: 30.56 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.3721, allocations: 16.86 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.3721, allocations: 0 / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.3723, allocations: 63.39 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.3723, allocations: 0 / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003133/0.3726, allocations: 85.58 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3727, allocations: 59.39 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.3729, allocations: 175.2 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.373, allocations: 33.7 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3731, allocations: 108.1 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.3731, allocations: 3.953 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.3732, allocations: 33.7 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3734, allocations: 322.8 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.3736, allocations: 69.67 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.3738, allocations: 92.2 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.374, allocations: 96.2 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.374, allocations: 0 / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004766/0.3744, allocations: 196.9 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/0.3745, allocations: 37.7 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3745, allocations: 0 / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.3745, allocations: 4 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.3746, allocations: 4.062 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3746, allocations: 7.938 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3749, allocations: 43.91 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.3749, allocations: 4 kB / 1.369 GB, free: 8.359 MB / 1.061 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.0001811/0.3751, allocations: 122.9 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3751, allocations: 7.953 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.3752, allocations: 17.02 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3752, allocations: 0 / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3752, allocations: 3.938 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3752, allocations: 0 / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3754, allocations: 148.7 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3754, allocations: 4 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.3754, allocations: 11.92 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/0.3754, allocations: 0 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3754, allocations: 0 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.3754, allocations: 4 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3755, allocations: 3.938 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3756, allocations: 97.25 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.3757, allocations: 11.94 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3757, allocations: 4 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.3757, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3758, allocations: 7.938 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3758, allocations: 0 / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001696/0.376, allocations: 135.9 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 0 / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003674/0.3763, allocations: 16 kB / 1.369 GB, free: 7.699 MB / 1.061 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.0007221/0.377, allocations: 0.6396 MB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3774, allocations: 153 kB / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3774, allocations: 0 / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-05/0.3775, allocations: 19.92 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3778, allocations: 24.05 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.3809, allocations: 1.781 MB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.381, allocations: 84.19 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.141e-05/0.381, allocations: 4.438 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.3811, allocations: 31.42 kB / 1.372 GB, free: 4.77 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/0.3811, allocations: 0 / 1.372 GB, free: 4.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.4204, allocations: 3.49 MB / 1.375 GB, free: 1.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.46, allocations: 13.98 kB / 1.375 GB, free: 1.438 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.18915925687179]