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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007525/0.007525, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.00183/0.00183, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 59.91 kB / 1.054 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3127, allocations: 157.4 MB / 1.207 GB, free: 10.22 MB / 0.9669 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.002071/0.3148, allocations: 0.7475 MB / 1.208 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3164, allocations: 1.147 MB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.3165, allocations: 4 kB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.3167, allocations: 23.8 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.3167, allocations: 7.938 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3172, allocations: 130.4 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.3175, allocations: 135.7 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3176, allocations: 27.98 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.3177, allocations: 39.91 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3178, allocations: 51.75 kB / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.3178, allocations: 12 kB / 1.21 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.3179, allocations: 27.92 kB / 1.21 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.3179, allocations: 7.938 kB / 1.21 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.318, allocations: 47.78 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3182, allocations: 115.9 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3182, allocations: 4 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3182, allocations: 0 / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3182, allocations: 0 / 1.21 GB, free: 7.691 MB / 0.9669 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.0005271/0.3188, allocations: 401 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3188, allocations: 8.625 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.3189, allocations: 38.75 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3189, allocations: 16.84 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.3192, allocations: 208.2 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3192, allocations: 384 / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3192, allocations: 16.3 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.3194, allocations: 64.83 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3194, allocations: 7.938 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3194, allocations: 8 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3194, allocations: 3.938 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.3194, allocations: 19.92 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.3199, allocations: 496.9 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.32, allocations: 26.58 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.32, allocations: 4.859 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.32, allocations: 0 / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.3201, allocations: 63.36 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3201, allocations: 0 / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001931/0.3203, allocations: 69.53 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3204, allocations: 55.39 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3205, allocations: 149.8 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3205, allocations: 29.7 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.3206, allocations: 100.1 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.3206, allocations: 7.891 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.3207, allocations: 29.7 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.3208, allocations: 322.8 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.3209, allocations: 27.98 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.3209, allocations: 50.75 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/0.321, allocations: 84.23 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3211, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002437/0.3213, allocations: 147.2 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.3213, allocations: 43.19 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3214, allocations: 0 / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3214, allocations: 8.094 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.695e-05/0.3214, allocations: 0 / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3214, allocations: 3.938 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.3216, allocations: 27.97 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.3216, allocations: 8 kB / 1.212 GB, free: 4.902 MB / 0.9669 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.662e-05/0.3217, allocations: 121.8 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3218, allocations: 7.906 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.3218, allocations: 12.25 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3218, allocations: 0 / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3218, allocations: 3.938 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3218, allocations: 0 / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.3219, allocations: 177.6 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.322, allocations: 3.938 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-06/0.322, allocations: 0 / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.322, allocations: 0 / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.322, allocations: 64 / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.322, allocations: 4 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.322, allocations: 7.938 kB / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.3221, allocations: 85.05 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3222, allocations: 85.02 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3222, allocations: 3.938 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.668e-05/0.3222, allocations: 0 / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.3222, allocations: 7.938 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3222, allocations: 0 / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.316e-05/0.3223, allocations: 117.7 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3223, allocations: 0 / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002143/0.3226, allocations: 20 kB / 1.213 GB, free: 4.16 MB / 0.9669 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.0003852/0.3229, allocations: 0.6202 MB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3232, allocations: 127.2 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3232, allocations: 0 / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.3232, allocations: 12.19 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3234, allocations: 11.98 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.325, allocations: 1.516 MB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.3253, allocations: 0.6924 MB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.3253, allocations: 7.984 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.3254, allocations: 25.19 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3254, allocations: 0 / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.3443, allocations: 2.448 MB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.018, allocations: 7.328 kB / 1.218 GB, free: 14.67 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > 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