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.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.001877/0.001877, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002042/0.002042, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.357/3.357, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.336e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.002093/0.002126, allocations: 0.7454 MB / 0.8782 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.003995, allocations: 1.177 MB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.004076, allocations: 9.188 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.004223, allocations: 20.02 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.004256, allocations: 7.875 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.004744, allocations: 138 kB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.004968, allocations: 127.7 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.00509, allocations: 23.91 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.005204, allocations: 59.89 kB / 0.8797 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.005307, allocations: 32.44 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.005338, allocations: 8 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.005411, allocations: 21.5 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.005434, allocations: 11.92 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.005507, allocations: 39.91 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.00575, allocations: 123.6 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005753, allocations: 0.6875 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005754, allocations: 1.344 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.005765, allocations: 4 kB / 0.8799 GB, free: 4.145 MB / 0.8386 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.0008101/0.006575, allocations: 441.7 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.006627, allocations: 8.031 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.00671, allocations: 18.48 kB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.007063, allocations: 152.5 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.007081, allocations: 1.906 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.007104, allocations: 8.375 kB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.007313, allocations: 85.23 kB / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.007327, allocations: 192 / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.007344, allocations: 7.406 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.007349, allocations: 384 / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.098e-05/0.00741, allocations: 27.86 kB / 0.8806 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.008123, allocations: 0.56 MB / 0.8812 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/0.008204, allocations: 34.94 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.008227, allocations: 11.75 kB / 0.8812 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.008236, allocations: 0 / 0.8812 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.00836, allocations: 65.05 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.008361, allocations: 4 kB / 0.8813 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002472/0.008608, allocations: 77.5 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.008667, allocations: 51.41 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.008865, allocations: 201.9 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.0089, allocations: 33.69 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.009011, allocations: 146.8 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.009021, allocations: 3.953 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.009106, allocations: 43.36 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003978/0.009503, allocations: 0.4923 MB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.009615, allocations: 61.69 kB / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.009746, allocations: 100.7 kB / 0.8824 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.009893, allocations: 96.69 kB / 0.8825 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.009897, allocations: 7.938 kB / 0.8825 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003244/0.01022, allocations: 193 kB / 0.8827 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.01027, allocations: 36.34 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.01028, allocations: 4 kB / 0.8828 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.01029, allocations: 0 / 0.8828 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.759e-05/0.01031, allocations: 0 / 0.8828 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01032, allocations: 8.094 kB / 0.8828 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.0105, allocations: 19.98 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.01053, allocations: 7.984 kB / 0.8828 GB, free: 0.8828 MB / 0.8386 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.0001595/0.01069, allocations: 172.5 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.01071, allocations: 7.953 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.01073, allocations: 8.328 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01074, allocations: 0 / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.01075, allocations: 0 / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01075, allocations: 0 / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.0109, allocations: 144.6 kB / 0.8831 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.01091, allocations: 3.938 kB / 0.8831 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-06/0.01091, allocations: 0 / 0.8831 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.01091, allocations: 0 / 0.8831 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.01092, allocations: 3.984 kB / 0.8831 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.01093, allocations: 8.062 kB / 0.8831 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01093, allocations: 0 / 0.8831 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.01107, allocations: 100.3 kB / 0.8832 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01109, allocations: 7.938 kB / 0.8832 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.0111, allocations: 0 / 0.8832 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.01112, allocations: 3.938 kB / 0.8832 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.01115, allocations: 11.98 kB / 0.8833 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.01116, allocations: 0 / 0.8833 GB, free: 356 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001047/0.01126, allocations: 146.4 kB / 0.8834 GB, free: 212 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.01126, allocations: 4 kB / 0.8834 GB, free: 208 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000211/0.01147, allocations: 23.89 kB / 0.8834 GB, free: 184 kB / 0.8386 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.0001726/0.01165, allocations: 103.2 kB / 0.8835 GB, free: 68 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.01196, allocations: 168.7 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01196, allocations: 0 / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.012, allocations: 20.14 kB / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01221, allocations: 19.88 kB / 0.8837 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.0126, allocations: 166.7 kB / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.016e-05/0.01269, allocations: 71.33 kB / 0.8839 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.01271, allocations: 7.984 kB / 0.884 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.01274, allocations: 16.48 kB / 0.884 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01274, allocations: 0 / 0.884 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of Templates: time 0.004538/0.01728, allocations: 1.197 MB / 0.8851 GB, free: 14.37 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.457920272019692]