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.0008551/0.0008551, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007943/0.0007943, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8953/0.8953, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.588/1.588, allocations: 359 MB / 0.6044 GB, free: 11.1 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: 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 1.683e-06/1.683e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.794e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 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.001328/0.001346, allocations: 0.8867 MB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.002378, allocations: 1.198 MB / 0.9538 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.002449, allocations: 7.938 kB / 0.9538 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.002567, allocations: 23.73 kB / 0.9538 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.00261, allocations: 23.84 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.002956, allocations: 147.2 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.003117, allocations: 171.5 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.003216, allocations: 29.56 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.003293, allocations: 75.89 kB / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.00337, allocations: 39.88 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.003393, allocations: 20 kB / 0.9543 GB, free: 392 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.003443, allocations: 23.98 kB / 0.9543 GB, free: 368 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.003467, allocations: 23.86 kB / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.003513, allocations: 39.91 kB / 0.9543 GB, free: 304 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.003704, allocations: 191.4 kB / 0.9545 GB, free: 112 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003706, allocations: 0 / 0.9545 GB, free: 112 kB / 0.9011 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003707, allocations: 0 / 0.9545 GB, free: 112 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.00371, allocations: 0 / 0.9545 GB, free: 112 kB / 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.0004151/0.004125, allocations: 363.5 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.004157, allocations: 8.031 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.004199, allocations: 12.89 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.00438, allocations: 169.5 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.004393, allocations: 4.375 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.004409, allocations: 8.375 kB / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.004525, allocations: 88.69 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004533, allocations: 192 / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.004545, allocations: 4.375 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.00455, allocations: 384 / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.0046, allocations: 31.86 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.004959, allocations: 476.6 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/0.00501, allocations: 26.58 kB / 0.9557 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.005028, allocations: 12.92 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.005037, allocations: 0 / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.496e-05/0.005122, allocations: 63.39 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005123, allocations: 0 / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001688/0.005292, allocations: 81.56 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.005324, allocations: 51.41 kB / 0.9559 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.005424, allocations: 157.2 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.005442, allocations: 33.7 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.0055, allocations: 108.1 kB / 0.9562 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.005512, allocations: 7.906 kB / 0.9562 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.005554, allocations: 29.7 kB / 0.9562 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.005627, allocations: 326.8 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.005698, allocations: 69.69 kB / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.005762, allocations: 84.25 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.865e-05/0.005841, allocations: 92.2 kB / 0.9567 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005843, allocations: 0 / 0.9567 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001821/0.006025, allocations: 205 kB / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.006053, allocations: 41.69 kB / 0.957 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.006057, allocations: 0 / 0.957 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.006068, allocations: 0 / 0.957 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.311e-05/0.006111, allocations: 4 kB / 0.957 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.006115, allocations: 0 / 0.957 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.006222, allocations: 27.91 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.006234, allocations: 4 kB / 0.957 GB, free: 13.32 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: 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 6.585e-05/0.0063, allocations: 129.8 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.006309, allocations: 11.94 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.006331, allocations: 16.28 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.006332, allocations: 0 / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.006335, allocations: 0 / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006338, allocations: 3.938 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.25e-05/0.00642, allocations: 137.2 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006421, allocations: 0 / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.00643, allocations: 8.219 kB / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006431, allocations: 0 / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.006437, allocations: 4.062 kB / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006438, allocations: 4 kB / 0.9573 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006438, allocations: 0 / 0.9573 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.856e-05/0.006517, allocations: 101 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.006527, allocations: 7.891 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.006539, allocations: 7.984 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.00655, allocations: 0 / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.006572, allocations: 0 / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.006577, allocations: 4 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.00663, allocations: 118.3 kB / 0.9575 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.00663, allocations: 0 / 0.9575 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001374/0.006767, allocations: 20 kB / 0.9576 GB, free: 12.7 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: 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.0001014/0.006869, allocations: 111.2 kB / 0.9577 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.007041, allocations: 153 kB / 0.9578 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007042, allocations: 0 / 0.9578 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.007067, allocations: 19.98 kB / 0.9578 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.007228, allocations: 24.42 kB / 0.9579 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.007516, allocations: 214.8 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.007561, allocations: 88.44 kB / 0.9581 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.00758, allocations: 12.5 kB / 0.9582 GB, free: 12 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.00758, allocations: 0 / 0.9582 GB, free: 12 MB / 0.9167 GB Notification: Performance of Templates: time 0.002008/0.009588, allocations: 1.445 MB / 0.9596 GB, free: 10.57 MB / 0.9167 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: 6.181185025721788]