Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001418/0.001418, allocations: 83.03 kB / 19.18 MB, free: 2.512 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.001568/0.001568, allocations: 163.5 kB / 22.46 MB, free: 5.379 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.528/1.528, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.93/2.93, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.9814 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.225e-05, allocations: 6.281 kB / 0.9814 GB, free: 10.91 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.002246/0.002278, allocations: 0.8244 MB / 0.9822 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.004112, allocations: 1.201 MB / 0.9834 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.004192, allocations: 7.938 kB / 0.9834 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.004332, allocations: 23.84 kB / 0.9834 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.004387, allocations: 23.75 kB / 0.9835 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.004867, allocations: 150.5 kB / 0.9836 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.005102, allocations: 167.6 kB / 0.9838 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.005218, allocations: 29.58 kB / 0.9838 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.005347, allocations: 87.8 kB / 0.9839 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.00545, allocations: 35.89 kB / 0.9839 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.005483, allocations: 12 kB / 0.9839 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.005565, allocations: 39.97 kB / 0.984 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.005588, allocations: 7.938 kB / 0.984 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.005664, allocations: 43.91 kB / 0.984 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.005945, allocations: 191.5 kB / 0.9842 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.005948, allocations: 0 / 0.9842 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005949, allocations: 0 / 0.9842 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.005954, allocations: 0 / 0.9842 GB, free: 8.066 MB / 0.8887 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.0006069/0.006561, allocations: 359.5 kB / 0.9845 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.006617, allocations: 8.031 kB / 0.9845 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.006677, allocations: 16.83 kB / 0.9846 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.006961, allocations: 169.5 kB / 0.9847 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.006982, allocations: 8.375 kB / 0.9847 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.007007, allocations: 8.359 kB / 0.9847 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.007165, allocations: 76.83 kB / 0.9848 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.007173, allocations: 192 / 0.9848 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.007189, allocations: 12.3 kB / 0.9848 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007197, allocations: 4.375 kB / 0.9848 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/0.007271, allocations: 27.94 kB / 0.9848 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.00785, allocations: 456.7 kB / 0.9853 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.007924, allocations: 30.58 kB / 0.9853 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.007959, allocations: 20.84 kB / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.00797, allocations: 0 / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.00809, allocations: 59.39 kB / 0.9854 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.008091, allocations: 0 / 0.9854 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002317/0.008323, allocations: 77.64 kB / 0.9855 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.008376, allocations: 51.41 kB / 0.9855 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.008564, allocations: 164.8 kB / 0.9857 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.008598, allocations: 29.7 kB / 0.9857 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.008703, allocations: 112 kB / 0.9858 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.008723, allocations: 19.89 kB / 0.9858 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.008802, allocations: 33.69 kB / 0.9859 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.008972, allocations: 322.8 kB / 0.9862 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.009096, allocations: 69.67 kB / 0.9862 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.009218, allocations: 88.27 kB / 0.9863 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.009357, allocations: 96.14 kB / 0.9864 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.009359, allocations: 0 / 0.9864 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004178/0.009776, allocations: 204.9 kB / 0.9866 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/0.009837, allocations: 41.77 kB / 0.9866 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.009843, allocations: 0 / 0.9866 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.009863, allocations: 4 kB / 0.9866 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.009921, allocations: 0 / 0.9866 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.009929, allocations: 3.984 kB / 0.9866 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.01014, allocations: 27.97 kB / 0.9867 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.01016, allocations: 4 kB / 0.9867 GB, free: 5.254 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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 0.0001204/0.01028, allocations: 121.8 kB / 0.9868 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.0103, allocations: 15.91 kB / 0.9868 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.01035, allocations: 12.56 kB / 0.9868 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.01036, allocations: 7.984 kB / 0.9868 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.01037, allocations: 0 / 0.9868 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01037, allocations: 0 / 0.9868 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.01051, allocations: 133.2 kB / 0.987 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01051, allocations: 0 / 0.987 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.01053, allocations: 4 kB / 0.987 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01054, allocations: 4 kB / 0.987 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.01054, allocations: 0 / 0.987 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01054, allocations: 4 kB / 0.987 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01055, allocations: 11.92 kB / 0.987 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.0107, allocations: 93.02 kB / 0.9871 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.01072, allocations: 7.953 kB / 0.9871 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.01074, allocations: 0 / 0.9871 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.01076, allocations: 0 / 0.9871 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.01079, allocations: 7.984 kB / 0.9871 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.0108, allocations: 0 / 0.9871 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001034/0.0109, allocations: 117.9 kB / 0.9872 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.0109, allocations: 0 / 0.9872 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002413/0.01114, allocations: 23.94 kB / 0.9872 GB, free: 4.641 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,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.0001849/0.01133, allocations: 107.2 kB / 0.9873 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.0116, allocations: 157 kB / 0.9875 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.0116, allocations: 0 / 0.9875 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.01164, allocations: 12 kB / 0.9875 GB, free: 4.344 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.0119, allocations: 29.67 kB / 0.9875 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.01233, allocations: 181.1 kB / 0.9877 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.033e-05/0.01242, allocations: 88.44 kB / 0.9878 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.01245, allocations: 8.719 kB / 0.9878 GB, free: 4 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.01248, allocations: 12.5 kB / 0.9878 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of SimCode: time 7.21e-07/0.01248, allocations: 0 / 0.9878 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of Templates: time 0.005066/0.01755, allocations: 1.516 MB / 0.9893 GB, free: 2.52 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.195772860199213]