Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.001845/0.001845, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002182/0.002182, allocations: 206.6 kB / 23 MB, free: 4.934 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [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.001975/0.001975, allocations: 66.94 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3306, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002356/0.333, allocations: 0.7381 MB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3347, allocations: 1.163 MB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.3348, allocations: 7.938 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.3349, allocations: 15.86 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.3349, allocations: 15.86 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.3355, allocations: 137.5 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.3357, allocations: 127.7 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3358, allocations: 31.92 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.3359, allocations: 43.91 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.336, allocations: 39.83 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.336, allocations: 12 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.3361, allocations: 19.98 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.3361, allocations: 7.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.3361, allocations: 43.83 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.3363, allocations: 111.6 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3363, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3363, allocations: 3.938 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.3364, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005216/0.3369, allocations: 339.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3369, allocations: 8.031 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.337, allocations: 16.88 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3372, allocations: 138.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3372, allocations: 8.375 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.3373, allocations: 4.375 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3374, allocations: 80.73 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3374, allocations: 192 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3374, allocations: 3.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3374, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.3375, allocations: 19.98 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.3379, allocations: 424.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.605e-05/0.338, allocations: 22.52 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.338, allocations: 4.859 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.338, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.943e-05/0.3381, allocations: 59.45 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3381, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002008/0.3383, allocations: 69.72 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3383, allocations: 55.41 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3385, allocations: 136.4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.3385, allocations: 33.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.3386, allocations: 100.1 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.3386, allocations: 7.953 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.3386, allocations: 29.7 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3388, allocations: 322.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3389, allocations: 61.69 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.339, allocations: 84.22 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3391, allocations: 88.2 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3391, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002932/0.3394, allocations: 177 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.3395, allocations: 37.69 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3395, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3395, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.538e-05/0.3395, allocations: 3.938 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3395, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.3397, allocations: 32.12 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3397, allocations: 8 kB / 1.332 GB, free: 11.87 MB / 1.029 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001029/0.3398, allocations: 130.3 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.3398, allocations: 7.953 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.3399, allocations: 4.344 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3399, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3399, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.3399, allocations: 7.953 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3399, allocations: 3.984 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.725e-05/0.3399, allocations: 3.938 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.34, allocations: 15.94 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001115/0.3401, allocations: 125 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001644/0.3402, allocations: 226.8 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.725e-05/0.3403, allocations: 11.94 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.88e-05/0.3403, allocations: 95.27 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of Backend: time 2.9e-07/0.3403, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.3408, allocations: 212.5 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005859/0.3414, allocations: 0.6066 MB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of Templates: time 0.004089/0.3455, allocations: 1.274 MB / 1.334 GB, free: 9.07 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.684987155000272]