Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.941/1.941, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0014/0.0014, allocations: 173.3 kB / 490.8 MB, free: 1.914 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.375/1.375, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 94.28 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.136e-06/8.166e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2977, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.128/4.426, allocations: 1.938 GB / 3.15 GB, free: 404.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/4.426, allocations: 83.94 kB / 3.15 GB, free: 404 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.638/5.064, allocations: 326.7 MB / 3.469 GB, free: 72.15 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002575/5.065, allocations: 51.94 kB / 3.469 GB, free: 72.1 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.005582/5.07, allocations: 2.161 MB / 3.471 GB, free: 69.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/5.07, allocations: 16.02 kB / 3.471 GB, free: 69.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/5.075, allocations: 0.5823 MB / 3.472 GB, free: 69.28 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/5.078, allocations: 2.247 MB / 3.474 GB, free: 66.98 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/5.078, allocations: 52 kB / 3.474 GB, free: 66.93 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/5.079, allocations: 96 kB / 3.474 GB, free: 66.84 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002564/5.081, allocations: 1.888 MB / 3.476 GB, free: 64.95 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/5.083, allocations: 1.597 MB / 3.478 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/5.083, allocations: 0 / 3.478 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/5.084, allocations: 4 kB / 3.478 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/5.084, allocations: 40 kB / 3.478 GB, free: 63.26 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008948/5.092, allocations: 6.07 MB / 3.484 GB, free: 57.02 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/5.095, allocations: 1.818 MB / 3.485 GB, free: 55.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008133/5.095, allocations: 0.6636 MB / 3.486 GB, free: 54.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/5.096, allocations: 0.7559 MB / 3.487 GB, free: 53.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/5.097, allocations: 0.8542 MB / 3.488 GB, free: 52.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 5.34e-06/5.097, allocations: 4 kB / 3.488 GB, free: 52.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003732/5.101, allocations: 1.601 MB / 3.489 GB, free: 51.05 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/5.101, allocations: 244.6 kB / 3.489 GB, free: 50.76 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/5.104, allocations: 2.351 MB / 3.492 GB, free: 48.39 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/5.104, allocations: 29.7 kB / 3.492 GB, free: 48.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/5.105, allocations: 0.5846 MB / 3.492 GB, free: 47.76 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/5.105, allocations: 441.2 kB / 3.493 GB, free: 47.32 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/5.105, allocations: 0 / 3.493 GB, free: 47.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/5.105, allocations: 349.9 kB / 3.493 GB, free: 46.98 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/5.106, allocations: 486.5 kB / 3.494 GB, free: 46.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/5.107, allocations: 0.6865 MB / 3.494 GB, free: 45.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008787/5.107, allocations: 0.5736 MB / 3.495 GB, free: 45.18 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/5.107, allocations: 3.938 kB / 3.495 GB, free: 45.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002956/5.11, allocations: 1.527 MB / 3.496 GB, free: 43.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/5.11, allocations: 11.94 kB / 3.496 GB, free: 43.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/5.11, allocations: 3.906 kB / 3.496 GB, free: 43.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/5.111, allocations: 212.1 kB / 3.496 GB, free: 43.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/5.113, allocations: 315.6 kB / 3.497 GB, free: 43.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/5.117, allocations: 6.502 MB / 3.503 GB, free: 35.98 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/5.119, allocations: 135.4 kB / 3.503 GB, free: 35.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/5.119, allocations: 67.97 kB / 3.503 GB, free: 35.79 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.0004596/5.12, allocations: 124.8 kB / 3.503 GB, free: 35.66 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/5.12, allocations: 173.8 kB / 3.504 GB, free: 35.48 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/5.125, allocations: 2.016 MB / 3.506 GB, free: 33.44 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/5.125, allocations: 16 kB / 3.506 GB, free: 33.42 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/5.125, allocations: 0 / 3.506 GB, free: 33.42 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/5.125, allocations: 11.91 kB / 3.506 GB, free: 33.41 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008086/5.133, allocations: 3.875 MB / 3.509 GB, free: 29.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/5.133, allocations: 3.938 kB / 3.509 GB, free: 29.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/5.135, allocations: 327.6 kB / 3.51 GB, free: 29.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009432/5.136, allocations: 216 kB / 3.51 GB, free: 28.92 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/5.136, allocations: 27.97 kB / 3.51 GB, free: 28.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004235/5.14, allocations: 6.517 MB / 3.516 GB, free: 21.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/5.14, allocations: 0 / 3.516 GB, free: 21.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003421/5.144, allocations: 1.722 MB / 3.518 GB, free: 20.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/5.145, allocations: 0.6545 MB / 3.519 GB, free: 19.36 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005937/5.146, allocations: 8 kB / 3.519 GB, free: 19.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/5.147, allocations: 115.7 kB / 3.519 GB, free: 19.24 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/5.148, allocations: 81.17 kB / 3.519 GB, free: 19.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/5.148, allocations: 87.95 kB / 3.519 GB, free: 19.08 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002535/5.15, allocations: 1.831 MB / 3.521 GB, free: 17.25 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002794/5.153, allocations: 0.7559 MB / 3.521 GB, free: 16.49 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.003157/5.156, allocations: 1.731 MB / 3.523 GB, free: 14.84 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002579/5.159, allocations: 1.71 MB / 3.525 GB, free: 13.08 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/5.159, allocations: 4.594 kB / 3.525 GB, free: 13.08 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/5.16, allocations: 1.208 MB / 3.526 GB, free: 11.82 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/5.163, allocations: 411.6 kB / 3.526 GB, free: 11.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008171/5.171, allocations: 3.011 MB / 3.529 GB, free: 8.359 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/5.174, allocations: 1.864 MB / 3.531 GB, free: 6.461 MB / 1.151 GB Notification: Performance of SimCode: time 9.32e-07/5.174, allocations: 0 / 3.531 GB, free: 6.461 MB / 1.151 GB Notification: Performance of Templates: time 0.5223/5.696, allocations: 39.07 MB / 3.569 GB, free: 434.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches