Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001356/0.001356, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.327/1.327, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.497/2.497, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 59.91 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7678, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.001644/0.7695, allocations: 0.7562 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.7705, allocations: 1.158 MB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.7706, allocations: 2.312 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.7707, allocations: 18.14 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.747e-05/0.7707, allocations: 14.98 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.7711, allocations: 132.3 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.7713, allocations: 133.5 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.7714, allocations: 25.83 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.7715, allocations: 41.38 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.7716, allocations: 47.81 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.7716, allocations: 9.156 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.7717, allocations: 21.14 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.7717, allocations: 12.02 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.7717, allocations: 43.02 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.7719, allocations: 111.4 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7719, allocations: 0.7188 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.51e-07/0.7719, allocations: 0 / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.7719, allocations: 0 / 1.274 GB, free: 6.145 MB / 0.9981 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.0003684/0.7723, allocations: 417.2 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.7723, allocations: 10.03 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.366e-05/0.7723, allocations: 37.56 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.7724, allocations: 15.45 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.7725, allocations: 207.7 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.7725, allocations: 7.625 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.7726, allocations: 6.562 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.593e-05/0.7727, allocations: 74.41 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7727, allocations: 8.844 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.7727, allocations: 1.375 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.7727, allocations: 0 / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.252e-05/0.7727, allocations: 16.95 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.773, allocations: 0.4932 MB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.557e-05/0.7731, allocations: 21.52 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.7731, allocations: 10.89 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.7731, allocations: 3.938 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.539e-05/0.7732, allocations: 54.69 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.7732, allocations: 5.219 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001562/0.7733, allocations: 68.33 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.7733, allocations: 52.19 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.7734, allocations: 149.1 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.7735, allocations: 31.55 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.7735, allocations: 100.1 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.535e-06/0.7735, allocations: 4.672 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.7736, allocations: 30.33 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.7736, allocations: 324.8 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.7737, allocations: 30.3 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.7737, allocations: 44.83 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.085e-05/0.7738, allocations: 84.28 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7738, allocations: 0 / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002073/0.774, allocations: 159.5 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.7741, allocations: 33.75 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7741, allocations: 1.375 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7741, allocations: 0.7812 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.42e-05/0.7741, allocations: 3.359 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.7741, allocations: 4.531 kB / 1.276 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.7743, allocations: 32.08 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.7743, allocations: 10.12 kB / 1.276 GB, free: 3.836 MB / 0.9981 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 5.376e-05/0.7744, allocations: 121.6 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.7744, allocations: 7.734 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.7744, allocations: 12.77 kB / 1.276 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.7744, allocations: 0.875 kB / 1.276 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7744, allocations: 4.719 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.7744, allocations: 0 / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.321e-05/0.7745, allocations: 170.7 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.7745, allocations: 0 / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-06/0.7745, allocations: 1.5 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.7745, allocations: 4.531 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.7745, allocations: 6.156 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7745, allocations: 4.719 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7745, allocations: 7.875 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.875e-05/0.7746, allocations: 87.64 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.7746, allocations: 87.81 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.7746, allocations: 1.062 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.594e-05/0.7746, allocations: 1.359 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.7746, allocations: 5.188 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.7746, allocations: 7.203 kB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.7747, allocations: 108.5 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7747, allocations: 0 / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001962/0.7749, allocations: 20.25 kB / 1.277 GB, free: 3.203 MB / 0.9981 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.0002276/0.7751, allocations: 0.6271 MB / 1.278 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.7753, allocations: 113.4 kB / 1.278 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7753, allocations: 0 / 1.278 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.7753, allocations: 11.19 kB / 1.278 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.7755, allocations: 17.52 kB / 1.278 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.7767, allocations: 1.52 MB / 1.279 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.7769, allocations: 0.6892 MB / 1.28 GB, free: 16.49 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.777, allocations: 4.609 kB / 1.28 GB, free: 16.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.777, allocations: 29.53 kB / 1.28 GB, free: 16.46 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.777, allocations: 0 / 1.28 GB, free: 16.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.8005, allocations: 2.376 MB / 1.282 GB, free: 16.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/7.693, allocations: 11.69 kB / 1.282 GB, free: 16.03 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.976018167000802]