Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001677/0.001677, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.002021/0.002021, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_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_11_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.002074/0.002074, allocations: 71.66 kB / 1.118 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 169.9 MB / 1.284 GB, free: 3.738 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.002089/0.3238, allocations: 0.7449 MB / 1.284 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3255, allocations: 1.16 MB / 1.286 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.3255, allocations: 7.938 kB / 1.286 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.3257, allocations: 19.8 kB / 1.286 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.204e-05/0.3257, allocations: 11.94 kB / 1.286 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.3262, allocations: 126.9 kB / 1.286 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.3264, allocations: 131.7 kB / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3265, allocations: 23.92 kB / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.3266, allocations: 51.83 kB / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.3267, allocations: 31.84 kB / 1.286 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3267, allocations: 12 kB / 1.286 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.3268, allocations: 19.98 kB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.3268, allocations: 15.92 kB / 1.286 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.3269, allocations: 43.84 kB / 1.286 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.327, allocations: 115.6 kB / 1.286 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.327, allocations: 0 / 1.286 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.327, allocations: 0 / 1.286 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3271, allocations: 3.938 kB / 1.286 GB, free: 1.223 MB / 0.9825 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.0005111/0.3276, allocations: 335.7 kB / 1.287 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3276, allocations: 12.03 kB / 1.287 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.3276, allocations: 8.891 kB / 1.287 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3279, allocations: 146.4 kB / 1.287 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3279, allocations: 8.359 kB / 1.287 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.3279, allocations: 4.375 kB / 1.287 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3281, allocations: 72.81 kB / 1.287 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3281, allocations: 192 / 1.287 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3281, allocations: 7.938 kB / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3281, allocations: 4 kB / 1.287 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.3281, allocations: 19.92 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.3286, allocations: 424.7 kB / 1.287 GB, free: 88 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.3287, allocations: 18.58 kB / 1.287 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.3287, allocations: 8.859 kB / 1.287 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3287, allocations: 4.062 kB / 1.287 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.3288, allocations: 59.34 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 4.077e-06/0.3288, allocations: 3.984 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001817/0.329, allocations: 65.62 kB / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.329, allocations: 59.39 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3292, allocations: 138.1 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.3292, allocations: 29.7 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.3293, allocations: 100.1 kB / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.3293, allocations: 3.953 kB / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.3293, allocations: 37.69 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3295, allocations: 322.8 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.923e-05/0.3296, allocations: 61.67 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.3297, allocations: 76.27 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3298, allocations: 80.27 kB / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3298, allocations: 4 kB / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002761/0.3301, allocations: 181 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.3302, allocations: 35.72 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3302, allocations: 8.094 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3302, allocations: 0 / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.43e-05/0.3302, allocations: 0 / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3302, allocations: 3.938 kB / 1.288 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3304, allocations: 27.97 kB / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3304, allocations: 15.92 kB / 1.288 GB, free: 14.63 MB / 0.9981 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.0001032/0.3305, allocations: 121.7 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.3305, allocations: 7.953 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.3306, allocations: 8.344 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3306, allocations: 4 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3306, allocations: 0 / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3306, allocations: 3.984 kB / 1.289 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3307, allocations: 121.2 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3307, allocations: 4 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-06/0.3307, allocations: 0 / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3307, allocations: 0 / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3307, allocations: 0 / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3307, allocations: 0 / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3307, allocations: 3.984 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.3308, allocations: 92.95 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.3308, allocations: 4 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3308, allocations: 0 / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.3309, allocations: 4 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.3309, allocations: 7.984 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3309, allocations: 0 / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.331, allocations: 97.94 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.331, allocations: 0 / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002204/0.3312, allocations: 27.89 kB / 1.289 GB, free: 14.07 MB / 0.9981 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001433/0.3313, allocations: 103.2 kB / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.3316, allocations: 141 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3316, allocations: 0 / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.3316, allocations: 12.28 kB / 1.289 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.3318, allocations: 13.64 kB / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.3322, allocations: 180.5 kB / 1.289 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.787e-05/0.3322, allocations: 75.61 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.3322, allocations: 11.44 kB / 1.289 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3322, allocations: 4 kB / 1.289 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.00345/0.3357, allocations: 1.116 MB / 1.291 GB, free: 12.36 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.762292845640332]