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.0007645/0.0007645, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007982/0.0007982, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8619/0.8619, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.684/1.684, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.47e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 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.001275/0.00129, allocations: 0.7424 MB / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002378, allocations: 1.178 MB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.002437, allocations: 4 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.002556, allocations: 19.8 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.635e-05/0.002583, allocations: 15.86 kB / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.002948, allocations: 131.1 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.003092, allocations: 131.7 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.003189, allocations: 19.94 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.003257, allocations: 59.88 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.003337, allocations: 35.89 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.003361, allocations: 8 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.468e-05/0.003416, allocations: 23.97 kB / 0.9833 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.003437, allocations: 11.94 kB / 0.9833 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.003489, allocations: 31.92 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.003664, allocations: 131.6 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003666, allocations: 0 / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003667, allocations: 4 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003672, allocations: 0 / 0.9834 GB, free: 56 kB / 0.9323 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.0003961/0.004068, allocations: 334.3 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.004107, allocations: 12.03 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/0.00413, allocations: 30.75 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.004164, allocations: 12.89 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.004335, allocations: 145.6 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004347, allocations: 8.375 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.004363, allocations: 12.38 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.004459, allocations: 68.81 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004466, allocations: 192 / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.004476, allocations: 8.359 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004482, allocations: 4.125 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.004509, allocations: 15.94 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.004836, allocations: 452 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/0.004878, allocations: 26.56 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.192e-05/0.00489, allocations: 12.92 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.004895, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.543e-05/0.004981, allocations: 59.33 kB / 0.9846 GB, free: 14.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.004981, allocations: 4 kB / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001507/0.005132, allocations: 69.62 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.005164, allocations: 51.41 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.005257, allocations: 149.6 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.005272, allocations: 29.7 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.005316, allocations: 92.14 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.005324, allocations: 7.953 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.005367, allocations: 29.7 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.005472, allocations: 330.8 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.005538, allocations: 61.67 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.005599, allocations: 80.2 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.005671, allocations: 76.27 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005673, allocations: 3.938 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001764/0.00585, allocations: 184.9 kB / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.005877, allocations: 33.7 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005882, allocations: 96 / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.005894, allocations: 4 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.444e-05/0.005908, allocations: 0 / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.005915, allocations: 7.938 kB / 0.9857 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.006048, allocations: 27.92 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.006066, allocations: 15.92 kB / 0.9858 GB, free: 13.38 MB / 0.948 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 6.422e-05/0.00613, allocations: 113.8 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.006138, allocations: 11.95 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.00616, allocations: 8.344 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006162, allocations: 4 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.006168, allocations: 3.984 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006171, allocations: 0 / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.376e-05/0.006255, allocations: 144.7 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.006257, allocations: 3.984 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-06/0.006261, allocations: 4 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.006262, allocations: 0 / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.006268, allocations: 0 / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006269, allocations: 0 / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.00627, allocations: 64 / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.982e-05/0.00635, allocations: 92.95 kB / 0.9861 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.006361, allocations: 11.95 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.006372, allocations: 3.984 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.006384, allocations: 7.938 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.006407, allocations: 4 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.006411, allocations: 0 / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.006465, allocations: 115.2 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006465, allocations: 0 / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001456/0.00661, allocations: 16 kB / 0.9863 GB, free: 12.77 MB / 0.948 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.0002856/0.006896, allocations: 0.6211 MB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.007064, allocations: 141 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.007066, allocations: 0 / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.007084, allocations: 15.98 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.007255, allocations: 21.97 kB / 0.9871 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.008379, allocations: 1.628 MB / 0.9887 GB, free: 10.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.008422, allocations: 71.58 kB / 0.9887 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.008441, allocations: 8.188 kB / 0.9887 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.008479, allocations: 28.48 kB / 0.9888 GB, free: 10.04 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/0.00848, allocations: 0 / 0.9888 GB, free: 10.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.0249, allocations: 3.169 MB / 0.9919 GB, free: 7.055 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.649, allocations: 6.625 kB / 0.9919 GB, free: 7.051 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] 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: 10.5294085778296]