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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009378/0.009378, allocations: 101.4 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 188.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 75.89 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.9107, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001984/0.9127, allocations: 0.7461 MB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.9141, allocations: 1.158 MB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.9142, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.9144, allocations: 23.8 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.418e-05/0.9144, allocations: 3.938 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.9149, allocations: 131.2 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.9151, allocations: 143.7 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.9152, allocations: 27.98 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.9153, allocations: 43.84 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.9154, allocations: 47.81 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.9155, allocations: 8 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.9155, allocations: 19.98 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.9156, allocations: 11.94 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.214e-05/0.9156, allocations: 43.8 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.9158, allocations: 107.7 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9158, allocations: 4 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9158, allocations: 0 / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.9159, allocations: 4 kB / 1.21 GB, free: 11.11 MB / 0.9356 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.0005137/0.9164, allocations: 412.6 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.9164, allocations: 12.02 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.9165, allocations: 8.844 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.9167, allocations: 210.1 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.9167, allocations: 4.375 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.9168, allocations: 12.38 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.9169, allocations: 72.81 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9169, allocations: 192 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.9169, allocations: 3.938 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9169, allocations: 0 / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.917, allocations: 19.94 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.9174, allocations: 497 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.9175, allocations: 22.5 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.9175, allocations: 12.91 kB / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.9175, allocations: 4 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.9176, allocations: 55.39 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.9177, allocations: 3.938 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001983/0.9179, allocations: 69.59 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.9179, allocations: 51.41 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.918, allocations: 160.4 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.9181, allocations: 29.7 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.9181, allocations: 100.1 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.9182, allocations: 3.906 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.9182, allocations: 29.7 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9183, allocations: 322.8 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.9184, allocations: 27.98 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.9185, allocations: 54.55 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/0.9186, allocations: 76.22 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9186, allocations: 0 / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000222/0.9188, allocations: 151.3 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.9189, allocations: 41.7 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.9189, allocations: 0 / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.9189, allocations: 0 / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.9189, allocations: 4.062 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.919, allocations: 11.88 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.9192, allocations: 27.91 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.9192, allocations: 7.984 kB / 1.213 GB, free: 8.359 MB / 0.9356 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 8.281e-05/0.9193, allocations: 121.8 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.9193, allocations: 7.906 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.9193, allocations: 8.234 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9193, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9193, allocations: 3.938 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9194, allocations: 4 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.9195, allocations: 169.7 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9195, allocations: 0 / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.9195, allocations: 4 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.9195, allocations: 0 / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.9195, allocations: 3.984 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9195, allocations: 4 kB / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9195, allocations: 3.938 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.945e-05/0.9196, allocations: 84.97 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.9197, allocations: 85.02 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.9197, allocations: 288 / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.9197, allocations: 3.984 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.9198, allocations: 11.81 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.9198, allocations: 8 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.433e-05/0.9199, allocations: 111.2 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9199, allocations: 0 / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002295/0.9201, allocations: 16 kB / 1.213 GB, free: 7.617 MB / 0.9356 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.0001481/0.9202, allocations: 103.2 kB / 1.213 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.9205, allocations: 123.3 kB / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9205, allocations: 0 / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.9205, allocations: 16.17 kB / 1.213 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.9208, allocations: 12 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.9211, allocations: 154.7 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.9214, allocations: 0.6924 MB / 1.214 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.9214, allocations: 4 kB / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.9214, allocations: 7.438 kB / 1.214 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9214, allocations: 0 / 1.214 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of Templates: time 0.003536/0.925, allocations: 1.159 MB / 1.215 GB, free: 5.293 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) 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) Reference file matches