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.001286/0.001286, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001343/0.001343, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.34/1.34, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 497.2 MB / 0.7845 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001827/0.001827, allocations: 69.23 kB / 1.139 GB, free: 33.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3026, allocations: 173.9 MB / 1.309 GB, free: 15.92 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002016/0.3047, allocations: 0.7486 MB / 1.31 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3061, allocations: 1.155 MB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.3061, allocations: 0 / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.3063, allocations: 31.78 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.025e-05/0.3063, allocations: 7.875 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.3068, allocations: 142.4 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.307, allocations: 123.7 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3071, allocations: 23.92 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.3072, allocations: 43.89 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3073, allocations: 43.83 kB / 1.312 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.3073, allocations: 8 kB / 1.312 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.199e-05/0.3074, allocations: 20 kB / 1.312 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.3074, allocations: 19.92 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.3075, allocations: 39.84 kB / 1.312 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3077, allocations: 111.6 kB / 1.312 GB, free: 13.4 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3077, allocations: 0 / 1.312 GB, free: 13.4 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3077, allocations: 0 / 1.312 GB, free: 13.4 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3077, allocations: 3.938 kB / 1.312 GB, free: 13.4 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.0006104/0.3083, allocations: 414.6 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3084, allocations: 12.62 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.3084, allocations: 8.891 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.3087, allocations: 208.3 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3087, allocations: 12.38 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3088, allocations: 4.375 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3089, allocations: 68.83 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3089, allocations: 8.109 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3089, allocations: 3.938 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3089, allocations: 4 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.066e-05/0.309, allocations: 12 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.3096, allocations: 0.4931 MB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.3096, allocations: 22.58 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.3096, allocations: 12.91 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.3096, allocations: 7.938 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.3098, allocations: 55.34 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3098, allocations: 0 / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002014/0.31, allocations: 69.62 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.31, allocations: 51.41 kB / 1.313 GB, free: 11.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3101, allocations: 152 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3102, allocations: 25.7 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.3102, allocations: 104.1 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.3102, allocations: 11.88 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.3103, allocations: 33.7 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3105, allocations: 318.8 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.3105, allocations: 31.98 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.3106, allocations: 42.56 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.3107, allocations: 84.27 kB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3107, allocations: 0 / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000246/0.311, allocations: 155.2 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.311, allocations: 37.69 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.311, allocations: 0 / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.311, allocations: 0 / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.681e-05/0.311, allocations: 4 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.311, allocations: 3.938 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.3112, allocations: 32.02 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3113, allocations: 11.98 kB / 1.314 GB, free: 10.64 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 0.000101/0.3114, allocations: 117.8 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.3114, allocations: 7.953 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.3114, allocations: 8.484 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3114, allocations: 3.984 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3114, allocations: 3.938 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3114, allocations: 7.984 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.3116, allocations: 169.7 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3116, allocations: 0 / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-06/0.3116, allocations: 4 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3116, allocations: 0 / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3116, allocations: 0 / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3116, allocations: 3.984 kB / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3116, allocations: 4 kB / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.3117, allocations: 93.02 kB / 1.315 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.3117, allocations: 89.06 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3118, allocations: 0 / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.3118, allocations: 0 / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.3118, allocations: 7.922 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3118, allocations: 4 kB / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.3119, allocations: 109.5 kB / 1.315 GB, free: 9.926 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3119, allocations: 0 / 1.315 GB, free: 9.926 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002044/0.3121, allocations: 27.88 kB / 1.315 GB, free: 9.898 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.0001542/0.3122, allocations: 111.2 kB / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3124, allocations: 111.3 kB / 1.315 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3124, allocations: 0 / 1.315 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/0.3125, allocations: 4 kB / 1.315 GB, free: 9.652 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.3127, allocations: 21.84 kB / 1.315 GB, free: 9.633 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.313, allocations: 170.5 kB / 1.315 GB, free: 9.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3133, allocations: 0.6964 MB / 1.316 GB, free: 8.707 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.3133, allocations: 4 kB / 1.316 GB, free: 8.703 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.3133, allocations: 11.44 kB / 1.316 GB, free: 8.695 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.3133, allocations: 0 / 1.316 GB, free: 8.695 MB / 1.014 GB Notification: Performance of Templates: time 0.003715/0.317, allocations: 1.154 MB / 1.317 GB, free: 7.566 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.067658904008567]