Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 191.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.93/2.93, allocations: 0.4893 GB / 0.7884 GB, free: 33.01 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 68.27 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.321, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.0022/0.3232, allocations: 0.7581 MB / 1.317 GB, free: 8.961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3247, allocations: 1.151 MB / 1.318 GB, free: 7.797 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.3247, allocations: 3.938 kB / 1.318 GB, free: 7.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.3249, allocations: 27.72 kB / 1.318 GB, free: 7.766 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.3249, allocations: 11.94 kB / 1.318 GB, free: 7.754 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.3254, allocations: 131.1 kB / 1.318 GB, free: 7.629 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.3256, allocations: 131.7 kB / 1.318 GB, free: 7.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.3257, allocations: 19.92 kB / 1.318 GB, free: 7.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.3258, allocations: 39.92 kB / 1.318 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.3259, allocations: 47.81 kB / 1.318 GB, free: 7.395 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3259, allocations: 8 kB / 1.318 GB, free: 7.387 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.326, allocations: 31.92 kB / 1.318 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.326, allocations: 11.94 kB / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.3261, allocations: 47.78 kB / 1.318 GB, free: 7.297 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3262, allocations: 111.6 kB / 1.318 GB, free: 7.188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3262, allocations: 4 kB / 1.318 GB, free: 7.184 MB / 1.014 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3263, allocations: 3.938 kB / 1.318 GB, free: 7.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3263, allocations: 0 / 1.318 GB, free: 7.18 MB / 1.014 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.0004733/0.3267, allocations: 331.8 kB / 1.319 GB, free: 6.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3268, allocations: 8.031 kB / 1.319 GB, free: 6.809 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.3268, allocations: 12.89 kB / 1.319 GB, free: 6.797 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3271, allocations: 142.5 kB / 1.319 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3271, allocations: 8.375 kB / 1.319 GB, free: 6.625 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.3271, allocations: 16.36 kB / 1.319 GB, free: 6.609 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.3272, allocations: 68.77 kB / 1.319 GB, free: 6.527 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3272, allocations: 192 / 1.319 GB, free: 6.527 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3272, allocations: 3.938 kB / 1.319 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3272, allocations: 4 kB / 1.319 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.3273, allocations: 19.92 kB / 1.319 GB, free: 6.5 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.3278, allocations: 480 kB / 1.32 GB, free: 5.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.236e-05/0.3278, allocations: 18.58 kB / 1.32 GB, free: 5.953 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.3278, allocations: 12.92 kB / 1.32 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.3278, allocations: 0 / 1.32 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.585e-05/0.3279, allocations: 63.39 kB / 1.32 GB, free: 5.863 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3279, allocations: 0 / 1.32 GB, free: 5.863 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0001931/0.3281, allocations: 69.58 kB / 1.32 GB, free: 5.789 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3282, allocations: 51.41 kB / 1.32 GB, free: 5.727 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.3283, allocations: 151.6 kB / 1.32 GB, free: 5.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3283, allocations: 25.7 kB / 1.32 GB, free: 5.539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.3284, allocations: 100.1 kB / 1.32 GB, free: 5.438 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.3284, allocations: 7.953 kB / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.3285, allocations: 33.69 kB / 1.32 GB, free: 5.391 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3286, allocations: 318.8 kB / 1.32 GB, free: 5.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.3287, allocations: 27.98 kB / 1.32 GB, free: 5.043 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.3288, allocations: 46.55 kB / 1.32 GB, free: 4.988 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3289, allocations: 88.2 kB / 1.32 GB, free: 4.887 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3289, allocations: 4 kB / 1.32 GB, free: 4.883 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002431/0.3292, allocations: 143.5 kB / 1.321 GB, free: 4.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.3292, allocations: 37.7 kB / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3292, allocations: 0 / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.3292, allocations: 7.984 kB / 1.321 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.448e-05/0.3292, allocations: 0 / 1.321 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3293, allocations: 11.91 kB / 1.321 GB, free: 4.668 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3295, allocations: 32.02 kB / 1.321 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3295, allocations: 4 kB / 1.321 GB, free: 4.633 MB / 1.014 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 9.467e-05/0.3296, allocations: 122.7 kB / 1.321 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.3296, allocations: 7.953 kB / 1.321 GB, free: 4.496 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.3296, allocations: 12.33 kB / 1.321 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3296, allocations: 7.938 kB / 1.321 GB, free: 4.465 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3296, allocations: 3.938 kB / 1.321 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3296, allocations: 0 / 1.321 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.3298, allocations: 144.7 kB / 1.321 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3298, allocations: 0 / 1.321 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.3298, allocations: 3.984 kB / 1.321 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3298, allocations: 3.938 kB / 1.321 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.3298, allocations: 0 / 1.321 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3298, allocations: 0 / 1.321 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3298, allocations: 8 kB / 1.321 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.3299, allocations: 81.08 kB / 1.321 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.3299, allocations: 11.95 kB / 1.321 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3299, allocations: 4 kB / 1.321 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.3299, allocations: 3.984 kB / 1.321 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.33, allocations: 11.88 kB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.33, allocations: 0 / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.308e-05/0.3301, allocations: 112.8 kB / 1.321 GB, free: 4.023 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3301, allocations: 0 / 1.321 GB, free: 4.023 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002024/0.3303, allocations: 23.94 kB / 1.321 GB, free: 4 MB / 1.014 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.0001412/0.3304, allocations: 95.78 kB / 1.321 GB, free: 3.898 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.3306, allocations: 111.4 kB / 1.321 GB, free: 3.777 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3306, allocations: 0 / 1.321 GB, free: 3.777 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.3306, allocations: 11.92 kB / 1.321 GB, free: 3.766 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.3308, allocations: 16.55 kB / 1.321 GB, free: 3.754 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.3312, allocations: 160.1 kB / 1.322 GB, free: 3.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3315, allocations: 0.6926 MB / 1.322 GB, free: 2.852 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.192e-05/0.3315, allocations: 4 kB / 1.322 GB, free: 2.848 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.3315, allocations: 15.42 kB / 1.322 GB, free: 2.832 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.3315, allocations: 0 / 1.322 GB, free: 2.832 MB / 1.014 GB Notification: Performance of Templates: time 0.004265/0.3358, allocations: 1.173 MB / 1.323 GB, free: 1.684 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.133502254262567]