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.00153/0.00153, allocations: 114 kB / 16.41 MB, free: 6.379 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.001627/0.001627, allocations: 185.8 kB / 17.33 MB, free: 5.852 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.515/2.515, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/0.7205, allocations: 157.4 MB / 1.208 GB, free: 13.6 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.001815/0.7223, allocations: 0.7401 MB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.7236, allocations: 1.151 MB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.7236, allocations: 7.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.7238, allocations: 15.86 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.663e-05/0.7238, allocations: 19.86 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.7242, allocations: 131.1 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.7244, allocations: 135.7 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.7245, allocations: 27.98 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.7246, allocations: 43.91 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.7247, allocations: 39.83 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.7247, allocations: 12 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.954e-05/0.7248, allocations: 23.98 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.7248, allocations: 11.92 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.7248, allocations: 43.78 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.725, allocations: 119.6 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.725, allocations: 0 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.61e-07/0.725, allocations: 0 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.725, allocations: 0 / 1.211 GB, free: 11.09 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.0004021/0.7254, allocations: 408.6 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.7255, allocations: 8.031 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.7255, allocations: 16.84 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.7257, allocations: 210.1 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.7258, allocations: 4.375 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.7258, allocations: 4.375 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.7259, allocations: 80.73 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.7259, allocations: 192 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7259, allocations: 19.88 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.7259, allocations: 0 / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.726, allocations: 19.97 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.7264, allocations: 493 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.743e-05/0.7264, allocations: 22.52 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.7265, allocations: 8.859 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.7265, allocations: 4.062 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.266e-05/0.7266, allocations: 55.39 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.7266, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001551/0.7267, allocations: 65.59 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.7268, allocations: 55.34 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.7269, allocations: 153.7 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.7269, allocations: 37.64 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.727, allocations: 100.1 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.727, allocations: 7.906 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.7271, allocations: 29.7 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.7272, allocations: 314.8 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.7272, allocations: 31.97 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.7273, allocations: 46.56 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.7274, allocations: 84.2 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7274, allocations: 0 / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002273/0.7276, allocations: 147.2 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.7277, allocations: 33.7 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7277, allocations: 0 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.7277, allocations: 7.984 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-05/0.7277, allocations: 96 / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.7277, allocations: 4 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.7279, allocations: 35.84 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.728, allocations: 8 kB / 1.213 GB, free: 8.34 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 7.666e-05/0.7281, allocations: 113.8 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.7281, allocations: 7.906 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.7281, allocations: 12.23 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.7281, allocations: 0 / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7281, allocations: 4 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.7282, allocations: 84.95 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.7282, allocations: 4 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.7282, allocations: 4 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.7282, allocations: 3.984 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.521e-05/0.7283, allocations: 133.1 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000126/0.7285, allocations: 234.7 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.582e-05/0.7285, allocations: 15.98 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.7286, allocations: 113.1 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of Backend: time 4.41e-07/0.7286, allocations: 7.875 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.729, allocations: 189.8 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004582/0.7295, allocations: 0.6008 MB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of Templates: time 0.003406/0.7329, allocations: 1.161 MB / 1.216 GB, free: 5.547 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/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