Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.075/2.075, allocations: 387.2 MB / 394.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 180 kB / 487 MB, free: 5.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 95.23 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.178e-06/9.268e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2682, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.301/4.569, allocations: 1.938 GB / 3.143 GB, free: 384.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/4.569, allocations: 79.95 kB / 3.143 GB, free: 384.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6455/5.215, allocations: 326.7 MB / 3.462 GB, free: 52.92 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001445/5.215, allocations: 59.92 kB / 3.462 GB, free: 52.86 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003549/5.218, allocations: 2.153 MB / 3.464 GB, free: 50.65 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/5.218, allocations: 11.97 kB / 3.464 GB, free: 50.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003731/5.222, allocations: 0.5862 MB / 3.465 GB, free: 50.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/5.226, allocations: 2.255 MB / 3.467 GB, free: 47.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/5.226, allocations: 55.91 kB / 3.467 GB, free: 47.69 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/5.226, allocations: 96 kB / 3.467 GB, free: 47.59 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002689/5.229, allocations: 1.88 MB / 3.469 GB, free: 45.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/5.231, allocations: 1.593 MB / 3.47 GB, free: 44.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/5.231, allocations: 0 / 3.47 GB, free: 44.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/5.231, allocations: 8 kB / 3.471 GB, free: 44.06 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/5.231, allocations: 40 kB / 3.471 GB, free: 44.02 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009817/5.241, allocations: 6.078 MB / 3.476 GB, free: 37.77 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/5.243, allocations: 1.812 MB / 3.478 GB, free: 35.87 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007765/5.244, allocations: 0.6752 MB / 3.479 GB, free: 35.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000731/5.245, allocations: 0.7481 MB / 3.48 GB, free: 34.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/5.246, allocations: 0.8542 MB / 3.48 GB, free: 33.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.306e-06/5.246, allocations: 0 / 3.48 GB, free: 33.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.0038/5.25, allocations: 1.597 MB / 3.482 GB, free: 31.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/5.25, allocations: 256.6 kB / 3.482 GB, free: 31.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/5.253, allocations: 2.347 MB / 3.485 GB, free: 29.14 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002051/5.253, allocations: 33.7 kB / 3.485 GB, free: 29.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/5.254, allocations: 0.573 MB / 3.485 GB, free: 28.51 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/5.254, allocations: 445.2 kB / 3.486 GB, free: 28.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/5.254, allocations: 0 / 3.486 GB, free: 28.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/5.254, allocations: 349.9 kB / 3.486 GB, free: 27.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/5.255, allocations: 486.4 kB / 3.486 GB, free: 27.25 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/5.256, allocations: 0.6904 MB / 3.487 GB, free: 26.49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/5.257, allocations: 0.5658 MB / 3.488 GB, free: 25.93 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/5.257, allocations: 0 / 3.488 GB, free: 25.93 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003202/5.26, allocations: 1.539 MB / 3.489 GB, free: 24.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/5.26, allocations: 8.062 kB / 3.489 GB, free: 24.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/5.26, allocations: 4 kB / 3.489 GB, free: 24.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/5.261, allocations: 204.1 kB / 3.489 GB, free: 24.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/5.263, allocations: 311.6 kB / 3.49 GB, free: 23.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004374/5.267, allocations: 6.497 MB / 3.496 GB, free: 16.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/5.269, allocations: 135.2 kB / 3.496 GB, free: 16.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/5.269, allocations: 67.95 kB / 3.496 GB, free: 16.55 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004581/5.27, allocations: 140.7 kB / 3.496 GB, free: 16.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/5.27, allocations: 173.8 kB / 3.496 GB, free: 16.23 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/5.275, allocations: 2.02 MB / 3.498 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/5.275, allocations: 12 kB / 3.498 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/5.275, allocations: 4 kB / 3.498 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/5.275, allocations: 7.969 kB / 3.498 GB, free: 14.16 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/5.283, allocations: 3.869 MB / 3.502 GB, free: 10.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/5.283, allocations: 0 / 3.502 GB, free: 10.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/5.284, allocations: 331.6 kB / 3.503 GB, free: 9.902 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009294/5.285, allocations: 200.1 kB / 3.503 GB, free: 9.691 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/5.285, allocations: 35.89 kB / 3.503 GB, free: 9.656 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/5.29, allocations: 6.53 MB / 3.509 GB, free: 2.551 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/5.29, allocations: 8.016 kB / 3.509 GB, free: 2.543 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003525/5.293, allocations: 1.714 MB / 3.511 GB, free: 0.793 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/5.295, allocations: 0.6584 MB / 3.511 GB, free: 116 kB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006228/5.295, allocations: 4 kB / 3.511 GB, free: 112 kB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4963/5.792, allocations: 130.6 kB / 3.512 GB, free: 441.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/5.792, allocations: 82.36 kB / 3.512 GB, free: 441.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/5.792, allocations: 83.44 kB / 3.512 GB, free: 441.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002571/5.795, allocations: 1.824 MB / 3.514 GB, free: 441.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003109/5.798, allocations: 0.7513 MB / 3.514 GB, free: 441.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002799/5.801, allocations: 1.73 MB / 3.516 GB, free: 441 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002549/5.803, allocations: 1.708 MB / 3.518 GB, free: 440.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/5.803, allocations: 0.6562 kB / 3.518 GB, free: 440.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/5.805, allocations: 1.208 MB / 3.519 GB, free: 440 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/5.807, allocations: 422.6 kB / 3.519 GB, free: 440 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/5.814, allocations: 3.002 MB / 3.522 GB, free: 439.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/5.817, allocations: 1.872 MB / 3.524 GB, free: 438.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/5.817, allocations: 0 / 3.524 GB, free: 438.6 MB / 1.151 GB Notification: Performance of Templates: time 0.05948/5.876, allocations: 39.07 MB / 3.562 GB, free: 437.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches