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.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.001264/0.001264, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001292/0.001292, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8538/0.8538, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.624/1.624, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.689e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001315/0.001332, allocations: 0.836 MB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.002423, allocations: 1.198 MB / 0.9525 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.002493, allocations: 4 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.002614, allocations: 23.78 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.002656, allocations: 23.75 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.003065, allocations: 144.2 kB / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.00324, allocations: 171.6 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.003346, allocations: 21.58 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.003432, allocations: 95.73 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.997e-05/0.003512, allocations: 35.89 kB / 0.953 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.003533, allocations: 16 kB / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.003587, allocations: 31.97 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.003606, allocations: 11.94 kB / 0.953 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.003652, allocations: 39.91 kB / 0.9531 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.003841, allocations: 195.4 kB / 0.9532 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003843, allocations: 0 / 0.9532 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003843, allocations: 0 / 0.9532 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003846, allocations: 0 / 0.9532 GB, free: 0.6523 MB / 0.9011 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.0003759/0.004222, allocations: 363.5 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.004259, allocations: 12.03 kB / 0.9536 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.004285, allocations: 46.67 kB / 0.9536 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.004319, allocations: 12.89 kB / 0.9537 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.004494, allocations: 157.6 kB / 0.9538 GB, free: 0 / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.004519, allocations: 8.422 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.004533, allocations: 8.375 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.004638, allocations: 84.75 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.004644, allocations: 192 / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.004653, allocations: 4.375 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.004658, allocations: 8.125 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.004706, allocations: 31.92 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.005097, allocations: 484.1 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/0.00515, allocations: 26.58 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.005167, allocations: 8.922 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.005176, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.13e-05/0.005267, allocations: 75.31 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.005268, allocations: 0 / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001642/0.005432, allocations: 81.59 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.005462, allocations: 59.34 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.005577, allocations: 171.3 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.005595, allocations: 33.69 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.005643, allocations: 100.1 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.005654, allocations: 7.953 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.005704, allocations: 37.69 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.005778, allocations: 326.8 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.005852, allocations: 65.69 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/0.005922, allocations: 92.19 kB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/0.006003, allocations: 92.34 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.006006, allocations: 3.984 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001835/0.006189, allocations: 204.9 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.006215, allocations: 36.2 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.00622, allocations: 3.984 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.006229, allocations: 0 / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.006272, allocations: 7.938 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.006276, allocations: 0 / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.006391, allocations: 39.92 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.006404, allocations: 8 kB / 0.9558 GB, free: 13.73 MB / 0.9167 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 6.181e-05/0.006466, allocations: 117.8 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.006476, allocations: 15.94 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.006497, allocations: 12.97 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.006501, allocations: 4 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006505, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006507, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.516e-05/0.006592, allocations: 156.7 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006593, allocations: 0 / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-06/0.006601, allocations: 8 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.006602, allocations: 0 / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.006608, allocations: 0 / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006608, allocations: 3.938 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006609, allocations: 0 / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.561e-05/0.006695, allocations: 108.9 kB / 0.9562 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.006707, allocations: 4.234 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.006717, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.353e-05/0.00673, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.006751, allocations: 7.969 kB / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006755, allocations: 4 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.907e-05/0.006814, allocations: 124 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.006814, allocations: 0 / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001444/0.006958, allocations: 24 kB / 0.9564 GB, free: 13.07 MB / 0.9167 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.000249/0.007207, allocations: 0.6396 MB / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.007375, allocations: 153.1 kB / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.007376, allocations: 0 / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.007398, allocations: 15.94 kB / 0.9572 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.007557, allocations: 24.11 kB / 0.9572 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.008728, allocations: 1.781 MB / 0.9589 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.008769, allocations: 80.33 kB / 0.959 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.008793, allocations: 8.484 kB / 0.959 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.008832, allocations: 32.48 kB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of SimCode: time 3.2e-07/0.008832, allocations: 4 kB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.02779, allocations: 3.618 MB / 0.9626 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.295, allocations: 6.578 kB / 0.9626 GB, free: 6.719 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.115226646885276]