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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 80.25 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 164.3 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.732/2.732, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.283e-05, allocations: 5.234 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.001937/0.001969, allocations: 0.7357 MB / 0.9517 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.003793, allocations: 1.175 MB / 0.9528 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.003875, allocations: 7.938 kB / 0.9528 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.004019, allocations: 19.8 kB / 0.9529 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.004056, allocations: 11.92 kB / 0.9529 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.004549, allocations: 138.6 kB / 0.953 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.004759, allocations: 123.7 kB / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004875, allocations: 27.97 kB / 0.9531 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.004971, allocations: 55.95 kB / 0.9532 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.005081, allocations: 35.88 kB / 0.9532 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.005114, allocations: 16 kB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.005181, allocations: 15.98 kB / 0.9533 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.005206, allocations: 11.94 kB / 0.9533 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.005275, allocations: 35.91 kB / 0.9533 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.005499, allocations: 127.7 kB / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005501, allocations: 0 / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005502, allocations: 0 / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.005506, allocations: 3.938 kB / 0.9534 GB, free: 9.07 MB / 0.8575 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.0005279/0.006033, allocations: 331.8 kB / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.006072, allocations: 8.031 kB / 0.9538 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.006128, allocations: 12.89 kB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.006386, allocations: 153.6 kB / 0.9539 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.006401, allocations: 4.375 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.006424, allocations: 8.375 kB / 0.9539 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.006554, allocations: 68.81 kB / 0.954 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006565, allocations: 4.125 kB / 0.954 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.006578, allocations: 8.375 kB / 0.954 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.006582, allocations: 384 / 0.954 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.066e-05/0.006623, allocations: 19.92 kB / 0.954 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.007089, allocations: 420.8 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.491e-05/0.007144, allocations: 22.52 kB / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.007162, allocations: 12.86 kB / 0.9545 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.007171, allocations: 0 / 0.9545 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.007291, allocations: 63.33 kB / 0.9545 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.007292, allocations: 0 / 0.9545 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002079/0.0075, allocations: 69.81 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.007551, allocations: 51.41 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.007686, allocations: 132.9 kB / 0.9548 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.007718, allocations: 29.7 kB / 0.9548 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.007805, allocations: 108.1 kB / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.007819, allocations: 7.953 kB / 0.9549 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.007895, allocations: 37.64 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.008048, allocations: 322.8 kB / 0.9552 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/0.008147, allocations: 53.69 kB / 0.9553 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.008256, allocations: 84.25 kB / 0.9554 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.008377, allocations: 76.27 kB / 0.9554 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.008381, allocations: 3.938 kB / 0.9554 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000295/0.008676, allocations: 185 kB / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.008722, allocations: 41.62 kB / 0.9557 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008726, allocations: 0 / 0.9557 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.008742, allocations: 0 / 0.9557 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.789e-05/0.00876, allocations: 4 kB / 0.9557 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.008764, allocations: 0 / 0.9557 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.008977, allocations: 23.97 kB / 0.9557 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.009, allocations: 4 kB / 0.9557 GB, free: 6.492 MB / 0.8575 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.0001172/0.009117, allocations: 125.8 kB / 0.9558 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.009131, allocations: 7.984 kB / 0.9558 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.009161, allocations: 12.34 kB / 0.9558 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.009162, allocations: 64 / 0.9558 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.009168, allocations: 4 kB / 0.9558 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009171, allocations: 0 / 0.9558 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.009309, allocations: 125.2 kB / 0.956 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.009312, allocations: 3.938 kB / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.009318, allocations: 0 / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.009319, allocations: 0 / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.009325, allocations: 0 / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009326, allocations: 4 kB / 0.956 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009328, allocations: 4 kB / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.009456, allocations: 89 kB / 0.9561 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.00947, allocations: 7.891 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.009487, allocations: 4 kB / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.009503, allocations: 0 / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.009528, allocations: 0 / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.009532, allocations: 3.938 kB / 0.9561 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.542e-05/0.009617, allocations: 107.2 kB / 0.9562 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.009618, allocations: 0 / 0.9562 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002259/0.009843, allocations: 16 kB / 0.9562 GB, free: 5.926 MB / 0.8575 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.0001936/0.01004, allocations: 107.2 kB / 0.9563 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.01035, allocations: 141 kB / 0.9564 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01035, allocations: 0 / 0.9564 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.01038, allocations: 8 kB / 0.9564 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01062, allocations: 15.92 kB / 0.9564 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.01108, allocations: 157.4 kB / 0.9566 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.01116, allocations: 79.45 kB / 0.9567 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.01119, allocations: 7.984 kB / 0.9567 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.01121, allocations: 12.5 kB / 0.9567 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.01121, allocations: 0 / 0.9567 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of Templates: time 0.004763/0.01597, allocations: 1.18 MB / 0.9578 GB, free: 4.188 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] 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/jenkins/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: 7.975807096809149]