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.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.001364/0.001364, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001446/0.001446, allocations: 158.8 kB / 22.45 MB, free: 5.375 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.465/1.465, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.026/3.026, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.725e-06/2.725e-06, allocations: 0 / 1 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.237e-05, allocations: 6.281 kB / 1 GB, free: 6.223 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.002118/0.00215, allocations: 0.7406 MB / 1.001 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.003903, allocations: 1.174 MB / 1.002 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.003976, allocations: 8 kB / 1.002 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.004117, allocations: 15.86 kB / 1.002 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.00415, allocations: 15.86 kB / 1.002 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.00463, allocations: 126.4 kB / 1.002 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.004843, allocations: 135.7 kB / 1.002 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.004966, allocations: 23.92 kB / 1.002 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.005082, allocations: 63.88 kB / 1.002 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.005178, allocations: 27.89 kB / 1.002 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.005207, allocations: 8 kB / 1.002 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.005286, allocations: 31.92 kB / 1.002 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.005312, allocations: 11.92 kB / 1.002 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.005375, allocations: 31.92 kB / 1.002 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.005614, allocations: 127.6 kB / 1.003 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005617, allocations: 0 / 1.003 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.41e-07/0.005617, allocations: 4 kB / 1.003 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.005623, allocations: 0 / 1.003 GB, free: 3.68 MB / 0.9044 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.00061/0.006233, allocations: 331.7 kB / 1.003 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.006289, allocations: 12.03 kB / 1.003 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.006351, allocations: 8.891 kB / 1.003 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.006636, allocations: 144.4 kB / 1.003 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.006656, allocations: 4.375 kB / 1.003 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.006683, allocations: 12.36 kB / 1.003 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.006846, allocations: 72.77 kB / 1.003 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.006857, allocations: 192 / 1.003 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.006866, allocations: 384 / 1.003 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.006875, allocations: 8.312 kB / 1.003 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.006923, allocations: 23.86 kB / 1.003 GB, free: 3 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.007459, allocations: 420.8 kB / 1.004 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.57e-05/0.007525, allocations: 30.45 kB / 1.004 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.007549, allocations: 12.92 kB / 1.004 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.00756, allocations: 0 / 1.004 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.007674, allocations: 55.39 kB / 1.004 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.007676, allocations: 0 / 1.004 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002295/0.007905, allocations: 65.58 kB / 1.004 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.007972, allocations: 59.41 kB / 1.004 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.008106, allocations: 134.1 kB / 1.004 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.008148, allocations: 29.69 kB / 1.004 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.00823, allocations: 100.1 kB / 1.004 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.008238, allocations: 4 kB / 1.004 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.008306, allocations: 29.7 kB / 1.004 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.008491, allocations: 322.8 kB / 1.004 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.008592, allocations: 57.69 kB / 1.004 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.008699, allocations: 80.25 kB / 1.005 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.008844, allocations: 88.42 kB / 1.005 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.008848, allocations: 4 kB / 1.005 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000289/0.009137, allocations: 181 kB / 1.005 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.00919, allocations: 37.78 kB / 1.005 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.009198, allocations: 7.938 kB / 1.005 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.009215, allocations: 0 / 1.005 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.031e-05/0.009235, allocations: 4 kB / 1.005 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.009242, allocations: 4 kB / 1.005 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.009456, allocations: 27.92 kB / 1.005 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.00948, allocations: 7.984 kB / 1.005 GB, free: 1.094 MB / 0.9044 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.0001069/0.009587, allocations: 119 kB / 1.005 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.009599, allocations: 4 kB / 1.005 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.009641, allocations: 16.28 kB / 1.005 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.009642, allocations: 0 / 1.005 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.009647, allocations: 0 / 1.005 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.00965, allocations: 0 / 1.005 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.009769, allocations: 121.3 kB / 1.005 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.009772, allocations: 3.938 kB / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-06/0.009778, allocations: 0 / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009779, allocations: 0 / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.009785, allocations: 0 / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009787, allocations: 0 / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009788, allocations: 0 / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.009919, allocations: 93.06 kB / 1.005 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.009935, allocations: 11.83 kB / 1.005 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.009948, allocations: 0 / 1.005 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.009963, allocations: 0 / 1.005 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.009996, allocations: 8 kB / 1.005 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.01, allocations: 3.984 kB / 1.005 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.286e-05/0.01008, allocations: 102.6 kB / 1.005 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.01008, allocations: 0 / 1.005 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000239/0.01031, allocations: 23.94 kB / 1.005 GB, free: 0.5352 MB / 0.9044 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.0001872/0.0105, allocations: 107.2 kB / 1.005 GB, free: 428 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.01075, allocations: 137.1 kB / 1.006 GB, free: 272 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01075, allocations: 0 / 1.006 GB, free: 272 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.01078, allocations: 11.94 kB / 1.006 GB, free: 260 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01101, allocations: 19.86 kB / 1.006 GB, free: 240 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.01134, allocations: 149.5 kB / 1.006 GB, free: 60 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.127e-05/0.01144, allocations: 79.5 kB / 1.006 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.01145, allocations: 7.938 kB / 1.006 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.01147, allocations: 12.5 kB / 1.006 GB, free: 15.94 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/0.01147, allocations: 0 / 1.006 GB, free: 15.94 MB / 0.92 GB Notification: Performance of Templates: time 0.0044/0.01587, allocations: 1.191 MB / 1.007 GB, free: 14.78 MB / 0.92 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.230694819241762]