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 12.0.0-master/package.mo", uses=false) 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=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.001678/0.001678, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001862/0.001862, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 64.73 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8081, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002292/0.8104, allocations: 0.7385 MB / 1.084 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.8119, allocations: 1.145 MB / 1.085 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.812, allocations: 2.312 kB / 1.085 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.8122, allocations: 18.16 kB / 1.085 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.973e-05/0.8123, allocations: 18.52 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.8128, allocations: 131.2 kB / 1.085 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.8129, allocations: 132 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.8131, allocations: 31.55 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.8131, allocations: 49.08 kB / 1.085 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.8132, allocations: 38.5 kB / 1.085 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.8133, allocations: 9.219 kB / 1.085 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.961e-05/0.8133, allocations: 27.67 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.8134, allocations: 11.53 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.8134, allocations: 46.03 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.8136, allocations: 105.7 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8136, allocations: 4 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8136, allocations: 0 / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.8137, allocations: 1.469 kB / 1.085 GB, free: 48 kB / 0.8262 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.0005474/0.8142, allocations: 409.9 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.8143, allocations: 9.594 kB / 1.086 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.8143, allocations: 11.25 kB / 1.086 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.8146, allocations: 202.7 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.8146, allocations: 7.828 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.8146, allocations: 6.219 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.8148, allocations: 73.08 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8148, allocations: 1.375 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8148, allocations: 3.938 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8148, allocations: 1.156 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.8149, allocations: 19.73 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.8154, allocations: 0.4938 MB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.477e-05/0.8155, allocations: 21.3 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.8155, allocations: 8.844 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.8155, allocations: 0 / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.8156, allocations: 57.28 kB / 1.087 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8157, allocations: 4 kB / 1.087 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002027/0.8159, allocations: 70.78 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.8159, allocations: 57.91 kB / 1.087 GB, free: 14.65 MB / 0.8419 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 selectInitializationVariablesDAE (initialization): time 0.000167/0.8161, allocations: 157.5 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.8161, allocations: 28.39 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.8162, allocations: 95.58 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.8162, allocations: 6.203 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.8163, allocations: 29.86 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8165, allocations: 324 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.8166, allocations: 31.02 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.8166, allocations: 48.66 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.8168, allocations: 83.44 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8168, allocations: 1.094 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002663/0.8171, allocations: 147.7 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.8171, allocations: 39.61 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8171, allocations: 1.531 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.8172, allocations: 1.094 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.791e-05/0.8172, allocations: 5.688 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.8172, allocations: 5.406 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.8174, allocations: 28.97 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.8175, allocations: 10.53 kB / 1.088 GB, free: 13.79 MB / 0.8419 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.0001126/0.8176, allocations: 121.4 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.8176, allocations: 6.75 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.8176, allocations: 12.56 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.8176, allocations: 0 / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8177, allocations: 5.156 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8177, allocations: 0.9375 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.8178, allocations: 170.3 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8178, allocations: 0.7188 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-06/0.8178, allocations: 2.406 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8178, allocations: 4 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.8179, allocations: 1.156 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8179, allocations: 0 / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.8179, allocations: 6.25 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.818, allocations: 84.58 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.8181, allocations: 84.05 kB / 1.088 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.8181, allocations: 1.891 kB / 1.088 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.8181, allocations: 7.938 kB / 1.088 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.8181, allocations: 12.09 kB / 1.088 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.8182, allocations: 1.219 kB / 1.088 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.051e-05/0.8182, allocations: 109.8 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8183, allocations: 1.25 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002121/0.8185, allocations: 16.31 kB / 1.088 GB, free: 13.18 MB / 0.8419 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.0001618/0.8186, allocations: 104.3 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.8189, allocations: 121 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8189, allocations: 4.188 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.8189, allocations: 12.05 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.8192, allocations: 20.19 kB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.8195, allocations: 187.3 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.8199, allocations: 0.6945 MB / 1.089 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.8199, allocations: 9.938 kB / 1.09 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.8199, allocations: 0 / 1.09 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.003219/0.8231, allocations: 1.149 MB / 1.091 GB, free: 11.99 MB / 0.8419 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=400 -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/jenkins1/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