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.001829/0.001829, allocations: 88.72 kB / 19.44 MB, free: 356 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.002238/0.002238, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.521/1.521, allocations: 177.2 MB / 203.1 MB, free: 5.59 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.242/3.242, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.275e-06/2.275e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.182e-05, allocations: 4 kB / 0.8776 GB, free: 6.512 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.002233/0.002265, allocations: 0.7407 MB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.004169, allocations: 1.169 MB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.211e-05/0.004261, allocations: 8.875 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.004429, allocations: 18.59 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.733e-05/0.004476, allocations: 16.08 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.005009, allocations: 128.7 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.005257, allocations: 128.8 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.005384, allocations: 23.94 kB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.005512, allocations: 59.88 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.005624, allocations: 36.95 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.005655, allocations: 8 kB / 0.8799 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.005728, allocations: 25.03 kB / 0.8799 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.005759, allocations: 11.94 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.005831, allocations: 31.97 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.006081, allocations: 128.2 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006084, allocations: 0 / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.487e-06/0.006088, allocations: 4.594 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.006092, allocations: 0 / 0.88 GB, free: 4.004 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.0005777/0.006669, allocations: 333.1 kB / 0.8804 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.006708, allocations: 15.97 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.006781, allocations: 12.89 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.007045, allocations: 153.8 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.007062, allocations: 4.375 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.007087, allocations: 9.469 kB / 0.8806 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.007243, allocations: 68.83 kB / 0.8806 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.007253, allocations: 192 / 0.8806 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.007267, allocations: 5.031 kB / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.007271, allocations: 384 / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.007325, allocations: 24.42 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.007869, allocations: 425.9 kB / 0.8811 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.761e-05/0.007927, allocations: 22.5 kB / 0.8811 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.007953, allocations: 12.92 kB / 0.8811 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.007962, allocations: 3.469 kB / 0.8811 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.008082, allocations: 55.39 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.008083, allocations: 0 / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002377/0.008321, allocations: 69.58 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.008379, allocations: 59.39 kB / 0.8813 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.008538, allocations: 126.1 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.008572, allocations: 33.7 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.008662, allocations: 96.09 kB / 0.8815 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.008678, allocations: 8.828 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.008758, allocations: 33.69 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.008945, allocations: 318.8 kB / 0.8819 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.009072, allocations: 62.27 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.009189, allocations: 73.58 kB / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.009318, allocations: 88.2 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.009324, allocations: 5.281 kB / 0.8821 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003301/0.009654, allocations: 180.9 kB / 0.8822 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.009706, allocations: 37.7 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.009712, allocations: 4.094 kB / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.009735, allocations: 4 kB / 0.8823 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/0.009755, allocations: 4 kB / 0.8823 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.009763, allocations: 4 kB / 0.8823 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.009987, allocations: 23.97 kB / 0.8823 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.01002, allocations: 7.984 kB / 0.8823 GB, free: 1.426 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.0001173/0.01014, allocations: 125.7 kB / 0.8824 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.01016, allocations: 7.953 kB / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.01019, allocations: 8.344 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01019, allocations: 7.984 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.0102, allocations: 0 / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.0102, allocations: 0 / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.01033, allocations: 113.3 kB / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.01033, allocations: 7.938 kB / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.01034, allocations: 0 / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01034, allocations: 0 / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.01035, allocations: 3.984 kB / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01035, allocations: 0 / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01035, allocations: 0 / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.01049, allocations: 93.02 kB / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.01051, allocations: 8.172 kB / 0.8827 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01052, allocations: 4 kB / 0.8827 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.649e-05/0.01054, allocations: 4 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.01057, allocations: 7.969 kB / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.01058, allocations: 0 / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.719e-05/0.01066, allocations: 99.27 kB / 0.8828 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01066, allocations: 0 / 0.8828 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002431/0.01091, allocations: 23.94 kB / 0.8828 GB, free: 0.8594 MB / 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.000173/0.01108, allocations: 110.3 kB / 0.8829 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.01134, allocations: 137 kB / 0.8831 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01134, allocations: 0 / 0.8831 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.01137, allocations: 12 kB / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.0116, allocations: 13.05 kB / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.01199, allocations: 156.7 kB / 0.8832 GB, free: 396 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.092e-05/0.01207, allocations: 75.52 kB / 0.8833 GB, free: 300 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.01209, allocations: 8 kB / 0.8833 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.01211, allocations: 8.5 kB / 0.8833 GB, free: 284 kB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.01212, allocations: 0 / 0.8833 GB, free: 284 kB / 0.8386 GB Notification: Performance of Templates: time 0.004609/0.01672, allocations: 1.207 MB / 0.8845 GB, free: 15.11 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 800] 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.42058893002104]