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.001812/0.001812, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002384/0.002384, allocations: 214.7 kB / 22.25 MB, free: 5.133 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 8.012 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.219/3.219, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.003246/0.003246, allocations: 63.45 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3527, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 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.002369/0.3551, allocations: 0.8673 MB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3568, allocations: 1.206 MB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.3568, allocations: 7.938 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.357, allocations: 27.78 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.357, allocations: 7.875 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.3575, allocations: 152.3 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.3578, allocations: 171.6 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3579, allocations: 29.8 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.358, allocations: 75.7 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3581, allocations: 51.77 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.3582, allocations: 16 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.369e-05/0.3582, allocations: 23.98 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.3583, allocations: 19.92 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.3583, allocations: 59.72 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.3586, allocations: 171.3 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3586, allocations: 4 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3586, allocations: 0 / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3586, allocations: 0 / 1.356 GB, free: 5.574 MB / 1.045 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.0006011/0.3592, allocations: 363.5 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3593, allocations: 12.03 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.3593, allocations: 38.73 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.3594, allocations: 12.89 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.3596, allocations: 162.3 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3596, allocations: 4.375 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.3597, allocations: 12.38 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3598, allocations: 84.75 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3598, allocations: 3.938 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3598, allocations: 0 / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3599, allocations: 7.984 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.3599, allocations: 27.92 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.3605, allocations: 0.5117 MB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.443e-05/0.3606, allocations: 22.58 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.3606, allocations: 12.92 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.3606, allocations: 0 / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.3607, allocations: 63.39 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3607, allocations: 0 / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002155/0.3609, allocations: 89.52 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.361, allocations: 55.41 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.3612, allocations: 176.4 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3612, allocations: 25.7 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.3613, allocations: 108.1 kB / 1.357 GB, free: 3.602 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.3613, allocations: 7.953 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.3614, allocations: 29.7 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.3616, allocations: 322.8 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.687e-05/0.3617, allocations: 47.91 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3618, allocations: 54.56 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.362, allocations: 92.2 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.362, allocations: 4 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003744/0.3624, allocations: 163.2 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.3625, allocations: 41.77 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3625, allocations: 3.938 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3625, allocations: 3.984 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.3625, allocations: 4 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3625, allocations: 3.938 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.3627, allocations: 35.92 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.3628, allocations: 8 kB / 1.358 GB, free: 2.738 MB / 1.045 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.0001221/0.3629, allocations: 126.4 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3629, allocations: 15.94 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.3629, allocations: 9.031 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3629, allocations: 4 kB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3629, allocations: 3.938 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.363, allocations: 0 / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3631, allocations: 160.7 kB / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3631, allocations: 0 / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.3632, allocations: 4 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3632, allocations: 0 / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.3632, allocations: 4 kB / 1.358 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3632, allocations: 0 / 1.358 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3632, allocations: 3.938 kB / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.3633, allocations: 97 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.3634, allocations: 11.91 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3634, allocations: 0 / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.3634, allocations: 8 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3634, allocations: 7.922 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3634, allocations: 4.281 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001248/0.3636, allocations: 124 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3636, allocations: 0 / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002251/0.3638, allocations: 20 kB / 1.359 GB, free: 2.074 MB / 1.045 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.000537/0.3643, allocations: 0.6358 MB / 1.359 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.3646, allocations: 131.2 kB / 1.359 GB, free: 1.266 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3646, allocations: 0 / 1.359 GB, free: 1.266 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.3646, allocations: 15.98 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.3649, allocations: 27.86 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.367, allocations: 1.651 MB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3673, allocations: 0.7041 MB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.3673, allocations: 4.438 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.3674, allocations: 27.42 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.3674, allocations: 0 / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.3997, allocations: 2.933 MB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 8 kB / 1.365 GB, free: 11.91 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.247386020142585]