Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.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.001408/0.001408, allocations: 81.14 kB / 19.87 MB, free: 4.625 MB / 18.57 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.001077/0.001077, allocations: 169 kB / 23.27 MB, free: 1.227 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.9822/0.9822, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 2.346/2.346, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] 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.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|witWSE.uHeaPreCon|witWSE.yMaxTowSpeSet|witWSE.yConWatPumSpeSet|witWSE.desConWatPumSpe|witWSE.yHeaPreConVal|witWSE.uHeaPreEna|noWSE.uHeaPreCon|noWSE.yMaxTowSpeSet|noWSE.yConWatPumSpeSet|noWSE.desConWatPumSpe|noWSE.yHeaPreConVal|noWSE.uHeaPreEna",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|witWSE.uHeaPreCon|witWSE.yMaxTowSpeSet|witWSE.yConWatPumSpeSet|witWSE.desConWatPumSpe|witWSE.yHeaPreConVal|witWSE.uHeaPreEna|noWSE.uHeaPreCon|noWSE.yMaxTowSpeSet|noWSE.yConWatPumSpeSet|noWSE.desConWatPumSpe|noWSE.yHeaPreConVal|noWSE.uHeaPreEna",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.423e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.002518/0.002542, allocations: 1.724 MB / 0.8915 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.004077, allocations: 1.595 MB / 0.8931 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.004306, allocations: 15.94 kB / 0.8931 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.217e-05/0.004388, allocations: 59.2 kB / 0.8931 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.004529, allocations: 71.16 kB / 0.8932 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.00505, allocations: 367.3 kB / 0.8935 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.005489, allocations: 0.6609 MB / 0.8942 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.005771, allocations: 254.2 kB / 0.8944 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.006039, allocations: 391.2 kB / 0.8948 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.006205, allocations: 183.4 kB / 0.895 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.006265, allocations: 72 kB / 0.8951 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.006356, allocations: 83.97 kB / 0.8951 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.047e-05/0.006426, allocations: 143.5 kB / 0.8953 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.006537, allocations: 191.5 kB / 0.8955 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.006875, allocations: 470.1 kB / 0.8959 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.006877, allocations: 0 / 0.8959 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.213e-06/0.006879, allocations: 0 / 0.8959 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.006883, allocations: 4 kB / 0.8959 GB, free: 3.445 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0007615/0.007645, allocations: 0.8718 MB / 0.8968 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.00768, allocations: 8.625 kB / 0.8968 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.469e-05/0.007775, allocations: 112.6 kB / 0.8969 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.008098, allocations: 377.6 kB / 0.8972 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.008129, allocations: 41.69 kB / 0.8973 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.008183, allocations: 64.38 kB / 0.8973 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.008832, allocations: 0.4902 MB / 0.8978 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.008844, allocations: 8.188 kB / 0.8978 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.008871, allocations: 20.38 kB / 0.8978 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.008881, allocations: 12.38 kB / 0.8978 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.009065, allocations: 193 kB / 0.898 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.01024, allocations: 1.295 MB / 0.8993 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.01039, allocations: 134.1 kB / 0.8994 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.01043, allocations: 43.66 kB / 0.8995 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.01045, allocations: 19.84 kB / 0.8995 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.01056, allocations: 103.4 kB / 0.8996 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.01057, allocations: 0 / 0.8996 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.0002474/0.01081, allocations: 201.3 kB / 0.8998 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.01084, allocations: 59.34 kB / 0.8998 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.01105, allocations: 418.1 kB / 0.9002 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01107, allocations: 33.7 kB / 0.9003 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.01123, allocations: 402.8 kB / 0.9006 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.01127, allocations: 95.25 kB / 0.9007 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.01137, allocations: 127.9 kB / 0.9009 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01149, allocations: 0.5156 MB / 0.9014 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-05/0.01158, allocations: 98.94 kB / 0.9015 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.01178, allocations: 402.4 kB / 0.9018 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.01206, allocations: 471.9 kB / 0.9023 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01207, allocations: 0 / 0.9023 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004137/0.01248, allocations: 0.5038 MB / 0.9028 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.01251, allocations: 33.7 kB / 0.9028 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01251, allocations: 8 kB / 0.9028 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01253, allocations: 8 kB / 0.9028 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.01271, allocations: 107.8 kB / 0.9029 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.01272, allocations: 20.52 kB / 0.903 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.01289, allocations: 83.48 kB / 0.903 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.01292, allocations: 27.98 kB / 0.9031 GB, free: 11.53 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noWSE.swi2.u2,noWSE.swi4.u2,noWSE.swi5.u2,noWSE.uWSE,disWSE.y,enaWSE.y,enaPreCon.y,$PRE.enaPreCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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.0001079/0.01302, allocations: 188.4 kB / 0.9032 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.01306, allocations: 43.77 kB / 0.9033 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.01328, allocations: 214.4 kB / 0.9035 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01328, allocations: 4 kB / 0.9035 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01328, allocations: 3.938 kB / 0.9035 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01329, allocations: 0 / 0.9035 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.01369, allocations: 0.5423 MB / 0.904 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.0137, allocations: 7.938 kB / 0.904 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.01377, allocations: 43.98 kB / 0.9041 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01378, allocations: 0 / 0.9041 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01379, allocations: 11.92 kB / 0.9041 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01379, allocations: 4 kB / 0.9041 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01379, allocations: 0 / 0.9041 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.01397, allocations: 333 kB / 0.9044 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.014, allocations: 39.66 kB / 0.9044 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.01402, allocations: 15.94 kB / 0.9045 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.01408, allocations: 7.984 kB / 0.9045 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.01411, allocations: 15.97 kB / 0.9045 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.01412, allocations: 12 kB / 0.9045 GB, free: 10 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000377/0.0145, allocations: 243 kB / 0.9047 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.0145, allocations: 0 / 0.9047 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002504/0.01475, allocations: 107.7 kB / 0.9048 GB, free: 9.656 MB / 0.8698 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,enaPreCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.0001115/0.01486, allocations: 115.1 kB / 0.9049 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.01512, allocations: 323.4 kB / 0.9052 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01513, allocations: 0 / 0.9052 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.01519, allocations: 79.5 kB / 0.9053 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01542, allocations: 51.11 kB / 0.9054 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.01603, allocations: 0.6591 MB / 0.906 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.01609, allocations: 105.3 kB / 0.9061 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.0162, allocations: 63.33 kB / 0.9062 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.01634, allocations: 146.2 kB / 0.9063 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of SimCode: time 6.22e-07/0.01634, allocations: 0 / 0.9063 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of Templates: time 0.006108/0.02245, allocations: 3.679 MB / 0.9099 GB, free: 4.48 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_HeadPressure_Subsequences_Validation_MappingWithWSE.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.415353366173804]