Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001888/0.001888, allocations: 81.27 kB / 19.18 MB, free: 2.527 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.002114/0.002114, allocations: 167.1 kB / 22.46 MB, free: 5.355 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.617/1.617, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.785/2.785, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.9509 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.409e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.56 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002186/0.00222, allocations: 0.892 MB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.004065, allocations: 1.206 MB / 0.953 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.004161, allocations: 4 kB / 0.953 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.00434, allocations: 19.8 kB / 0.953 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.004411, allocations: 27.78 kB / 0.953 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.005005, allocations: 149.2 kB / 0.9532 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.005282, allocations: 167.6 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.005431, allocations: 33.56 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.005581, allocations: 83.81 kB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.005709, allocations: 39.88 kB / 0.9535 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.005748, allocations: 16 kB / 0.9535 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.005833, allocations: 27.94 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.00587, allocations: 19.91 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.005957, allocations: 35.92 kB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.006286, allocations: 195.4 kB / 0.9538 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.006291, allocations: 0 / 0.9538 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.006292, allocations: 0 / 0.9538 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.006298, allocations: 0 / 0.9538 GB, free: 8.629 MB / 0.8575 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.0007324/0.00703, allocations: 367.5 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.007073, allocations: 8.031 kB / 0.9541 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.007143, allocations: 12.89 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.00743, allocations: 159.6 kB / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.007461, allocations: 8.375 kB / 0.9543 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.007487, allocations: 12.31 kB / 0.9543 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.007656, allocations: 80.81 kB / 0.9544 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.007667, allocations: 192 / 0.9544 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.00768, allocations: 4.375 kB / 0.9544 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.007688, allocations: 4.375 kB / 0.9544 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.007758, allocations: 31.86 kB / 0.9544 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.00832, allocations: 456.7 kB / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.008393, allocations: 26.58 kB / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.00842, allocations: 12.92 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.008431, allocations: 4 kB / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.008564, allocations: 67.33 kB / 0.955 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.008566, allocations: 7.875 kB / 0.955 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002488/0.008815, allocations: 81.58 kB / 0.9551 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.008864, allocations: 51.41 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.009039, allocations: 155.8 kB / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.00907, allocations: 29.7 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.009165, allocations: 108 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.009182, allocations: 11.91 kB / 0.9554 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.009256, allocations: 29.7 kB / 0.9554 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.009417, allocations: 330.8 kB / 0.9557 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.009542, allocations: 69.69 kB / 0.9558 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.009664, allocations: 84.25 kB / 0.9559 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.009812, allocations: 96.2 kB / 0.956 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009814, allocations: 0 / 0.956 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003308/0.01014, allocations: 197 kB / 0.9562 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/0.01021, allocations: 44.19 kB / 0.9562 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.01021, allocations: 4 kB / 0.9562 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.01023, allocations: 4.062 kB / 0.9562 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.01028, allocations: 4 kB / 0.9562 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01029, allocations: 3.938 kB / 0.9562 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.01049, allocations: 23.97 kB / 0.9563 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.01052, allocations: 7.984 kB / 0.9563 GB, free: 5.832 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.0001268/0.01065, allocations: 129.7 kB / 0.9564 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.01066, allocations: 7.953 kB / 0.9564 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.0107, allocations: 8.344 kB / 0.9564 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.0107, allocations: 4.234 kB / 0.9564 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.0107, allocations: 0 / 0.9564 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01071, allocations: 3.984 kB / 0.9564 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.01085, allocations: 141.2 kB / 0.9565 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.01085, allocations: 0 / 0.9565 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.01087, allocations: 4 kB / 0.9565 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01087, allocations: 0 / 0.9565 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.01088, allocations: 0 / 0.9565 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01088, allocations: 0 / 0.9565 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01088, allocations: 0 / 0.9565 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.01103, allocations: 108.9 kB / 0.9567 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.01105, allocations: 3.953 kB / 0.9567 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.01107, allocations: 8 kB / 0.9567 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.01109, allocations: 3.938 kB / 0.9567 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.01112, allocations: 4 kB / 0.9567 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01113, allocations: 7.922 kB / 0.9567 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.747e-05/0.01123, allocations: 118.4 kB / 0.9568 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01123, allocations: 0 / 0.9568 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002306/0.01146, allocations: 20 kB / 0.9568 GB, free: 5.215 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001726/0.01163, allocations: 103.2 kB / 0.9569 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.01191, allocations: 157 kB / 0.9571 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01191, allocations: 0 / 0.9571 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.01195, allocations: 15.98 kB / 0.9571 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01219, allocations: 23.92 kB / 0.9571 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.0126, allocations: 181.2 kB / 0.9573 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.819e-05/0.01268, allocations: 88.44 kB / 0.9574 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.01271, allocations: 4.734 kB / 0.9574 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.01273, allocations: 12.5 kB / 0.9574 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.01273, allocations: 0 / 0.9574 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.004694/0.01743, allocations: 1.517 MB / 0.9589 GB, free: 3.094 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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: 8.032907821238041]