Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001839/0.001839, allocations: 81.08 kB / 19.18 MB, free: 2.516 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.002164/0.002164, allocations: 159 kB / 22.46 MB, free: 5.375 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.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.016/3.016, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.264e-05, allocations: 10.16 kB / 0.9814 GB, free: 12 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.002849/0.002881, allocations: 0.7309 MB / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.005338, allocations: 1.174 MB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.665e-05/0.005434, allocations: 4 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.005612, allocations: 23.73 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.005659, allocations: 8 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.006429, allocations: 138.6 kB / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.006699, allocations: 127.7 kB / 0.9836 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.006838, allocations: 19.98 kB / 0.9836 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.006985, allocations: 59.88 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.007117, allocations: 39.83 kB / 0.9837 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.007158, allocations: 8 kB / 0.9837 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.007256, allocations: 16 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.007291, allocations: 19.91 kB / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.007385, allocations: 35.92 kB / 0.9838 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.007683, allocations: 123.7 kB / 0.9839 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.007688, allocations: 0 / 0.9839 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.007689, allocations: 0 / 0.9839 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.007696, allocations: 4 kB / 0.9839 GB, free: 9.465 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.0006649/0.00836, allocations: 335.7 kB / 0.9842 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.008413, allocations: 12.03 kB / 0.9842 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.008485, allocations: 8.891 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.008827, allocations: 149.6 kB / 0.9844 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.008845, allocations: 8.375 kB / 0.9844 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.008875, allocations: 4.375 kB / 0.9844 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.009057, allocations: 80.73 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.009066, allocations: 192 / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.009082, allocations: 4.375 kB / 0.9845 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.00909, allocations: 4.375 kB / 0.9845 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.009207, allocations: 23.86 kB / 0.9845 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.009863, allocations: 416.9 kB / 0.9849 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.009949, allocations: 26.45 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.009974, allocations: 4.859 kB / 0.9849 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.009983, allocations: 8.062 kB / 0.9849 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.01011, allocations: 55.39 kB / 0.985 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 4.469e-06/0.01012, allocations: 3.984 kB / 0.985 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002715/0.01039, allocations: 69.58 kB / 0.985 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/0.0106, allocations: 55.41 kB / 0.9851 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.0108, allocations: 133.2 kB / 0.9852 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.01084, allocations: 25.7 kB / 0.9852 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.01096, allocations: 104.1 kB / 0.9853 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.01098, allocations: 7.953 kB / 0.9853 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.01108, allocations: 29.7 kB / 0.9854 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.01129, allocations: 330.8 kB / 0.9857 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.01145, allocations: 57.69 kB / 0.9857 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.01163, allocations: 84.25 kB / 0.9858 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.01181, allocations: 80.2 kB / 0.9859 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.01181, allocations: 3.938 kB / 0.9859 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004822/0.0123, allocations: 181 kB / 0.9861 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.01235, allocations: 33.69 kB / 0.9861 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.01236, allocations: 7.938 kB / 0.9861 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01238, allocations: 4.094 kB / 0.9861 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.01241, allocations: 0 / 0.9861 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01241, allocations: 0 / 0.9861 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.0128, allocations: 31.91 kB / 0.9862 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.01283, allocations: 4 kB / 0.9862 GB, free: 6.871 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 0.0001597/0.01299, allocations: 125.7 kB / 0.9863 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.01302, allocations: 7.953 kB / 0.9863 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.01305, allocations: 12.34 kB / 0.9863 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01306, allocations: 0 / 0.9863 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01306, allocations: 4 kB / 0.9863 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01307, allocations: 0 / 0.9863 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.01325, allocations: 125.3 kB / 0.9864 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01325, allocations: 3.938 kB / 0.9864 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-06/0.01326, allocations: 0 / 0.9864 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01326, allocations: 0 / 0.9864 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01327, allocations: 0 / 0.9864 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01327, allocations: 0 / 0.9864 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01327, allocations: 0 / 0.9864 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.01345, allocations: 81.08 kB / 0.9865 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.01347, allocations: 15.88 kB / 0.9865 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01349, allocations: 4 kB / 0.9865 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.01352, allocations: 0 / 0.9865 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.01356, allocations: 7.938 kB / 0.9865 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.01356, allocations: 0 / 0.9865 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001216/0.01368, allocations: 103.2 kB / 0.9866 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01368, allocations: 0 / 0.9866 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004069/0.01409, allocations: 20 kB / 0.9866 GB, free: 6.312 MB / 0.9356 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.0002023/0.01429, allocations: 107.2 kB / 0.9867 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.01465, allocations: 145.2 kB / 0.9869 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01465, allocations: 0 / 0.9869 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.0147, allocations: 12.22 kB / 0.9869 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.01502, allocations: 14 kB / 0.9869 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.01546, allocations: 145.6 kB / 0.9871 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.698e-05/0.01555, allocations: 75.67 kB / 0.9871 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.01559, allocations: 11.97 kB / 0.9871 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.01562, allocations: 12.56 kB / 0.9871 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.01562, allocations: 0 / 0.9871 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of Templates: time 0.006317/0.02194, allocations: 1.181 MB / 0.9883 GB, free: 4.578 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.323900748044252]