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.0008478/0.0008478, allocations: 92.2 kB / 20.21 MB, free: 4.203 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.0008214/0.0008214, allocations: 161.3 kB / 23.52 MB, free: 0.8906 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.9487/0.9487, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 1.875/1.875, allocations: 428.5 MB / 0.6727 GB, free: 4.902 MB / 0.6355 GB " [Timeout remaining time 178] 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 1.453e-06/1.453e-06, allocations: 0 / 0.8763 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.086e-05, allocations: 3.375 kB / 0.8763 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.002622/0.002643, allocations: 1.689 MB / 0.878 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.004617, allocations: 1.572 MB / 0.8795 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.004825, allocations: 11.94 kB / 0.8795 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.004938, allocations: 60.33 kB / 0.8796 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.005122, allocations: 60.36 kB / 0.8796 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.005858, allocations: 364.6 kB / 0.88 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006437/0.006502, allocations: 0.6764 MB / 0.8806 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.006902, allocations: 250.8 kB / 0.8809 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003576/0.00726, allocations: 369 kB / 0.8812 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.007475, allocations: 203.4 kB / 0.8814 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-05/0.00756, allocations: 76 kB / 0.8815 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.007676, allocations: 87.94 kB / 0.8816 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.007824, allocations: 147.5 kB / 0.8817 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.008056, allocations: 200 kB / 0.8819 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.008937, allocations: 0.9903 MB / 0.8829 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00894, allocations: 0 / 0.8829 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008941, allocations: 0 / 0.8829 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.00895, allocations: 0 / 0.8829 GB, free: 1.906 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0009232/0.009873, allocations: 0.7857 MB / 0.8837 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.009907, allocations: 9.625 kB / 0.8837 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.01003, allocations: 112.6 kB / 0.8838 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.01044, allocations: 379 kB / 0.8841 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.01046, allocations: 41.69 kB / 0.8842 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.01052, allocations: 63.5 kB / 0.8842 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.01116, allocations: 0.6496 MB / 0.8849 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.01118, allocations: 192 / 0.8849 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.01121, allocations: 24.38 kB / 0.8849 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.01122, allocations: 20.31 kB / 0.8849 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.01174, allocations: 441 kB / 0.8853 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.01306, allocations: 1.134 MB / 0.8864 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.01336, allocations: 215.4 kB / 0.8866 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.01351, allocations: 120.8 kB / 0.8868 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.01353, allocations: 11.98 kB / 0.8868 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.01375, allocations: 174.1 kB / 0.8869 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.01375, allocations: 0 / 0.8869 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0005826/0.01433, allocations: 403.4 kB / 0.8873 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.01436, allocations: 59.34 kB / 0.8874 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.01459, allocations: 332.3 kB / 0.8877 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.01462, allocations: 33.7 kB / 0.8877 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.01477, allocations: 316.5 kB / 0.888 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.01482, allocations: 115 kB / 0.8881 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01493, allocations: 114.1 kB / 0.8882 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.01502, allocations: 350.7 kB / 0.8886 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.01523, allocations: 166.6 kB / 0.8887 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.01549, allocations: 313 kB / 0.889 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.01592, allocations: 459.8 kB / 0.8895 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01592, allocations: 0 / 0.8895 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006261/0.01655, allocations: 0.5798 MB / 0.89 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.01658, allocations: 40.34 kB / 0.8901 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01659, allocations: 11.94 kB / 0.8901 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.01661, allocations: 11.94 kB / 0.8901 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.01683, allocations: 99.89 kB / 0.8902 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.01684, allocations: 11.92 kB / 0.8902 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.01703, allocations: 75.59 kB / 0.8903 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.01706, allocations: 27.98 kB / 0.8903 GB, free: 9.918 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,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 (59): * Single equations (assignments): 58 * 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.000143/0.0172, allocations: 189.6 kB / 0.8905 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.01724, allocations: 51.81 kB / 0.8905 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.01769, allocations: 342.5 kB / 0.8909 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.01769, allocations: 4 kB / 0.8909 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.0177, allocations: 0 / 0.8909 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.0177, allocations: 3.984 kB / 0.8909 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.0185, allocations: 0.8016 MB / 0.8917 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.0185, allocations: 4 kB / 0.8917 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01863, allocations: 72.02 kB / 0.8917 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01864, allocations: 3.938 kB / 0.8917 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01865, allocations: 8 kB / 0.8917 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01865, allocations: 4 kB / 0.8917 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.01866, allocations: 4 kB / 0.8918 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.01906, allocations: 466.9 kB / 0.8922 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.0191, allocations: 39.64 kB / 0.8922 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.01912, allocations: 8 kB / 0.8922 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.01921, allocations: 23.98 kB / 0.8923 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.01926, allocations: 23.95 kB / 0.8923 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01927, allocations: 12 kB / 0.8923 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001287/0.0194, allocations: 207.1 kB / 0.8925 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0194, allocations: 0 / 0.8925 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003014/0.0197, allocations: 119.6 kB / 0.8926 GB, free: 7.465 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (36): * Single equations (assignments): 35 * 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.0001369/0.01984, allocations: 115.2 kB / 0.8927 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.02033, allocations: 417.6 kB / 0.8931 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.02033, allocations: 0 / 0.8931 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.02051, allocations: 145.8 kB / 0.8933 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.02082, allocations: 77.36 kB / 0.8933 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.02165, allocations: 0.7934 MB / 0.8941 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.0218, allocations: 238.2 kB / 0.8943 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.02187, allocations: 48.38 kB / 0.8944 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.02187, allocations: 0 / 0.8944 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.005397/0.02727, allocations: 5.298 MB / 0.8996 GB, free: 280 kB / 0.8542 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 -emit_protected > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.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: 6.5733696687966585]