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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001383, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 11.98 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.787, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1713/0.9584, allocations: 140.3 MB / 1.091 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.9771, allocations: 14.19 MB / 1.104 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.979, allocations: 27.81 kB / 1.104 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.9804, allocations: 346 kB / 1.105 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.985, allocations: 1.334 MB / 1.106 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.9882, allocations: 1.108 MB / 1.107 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003282/0.9915, allocations: 1.604 MB / 1.109 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.9938, allocations: 1.507 MB / 1.11 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.9958, allocations: 0.9263 MB / 1.111 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009808/0.9967, allocations: 0.7192 MB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.9969, allocations: 52 kB / 1.112 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.9997, allocations: 0.9985 MB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005639/1, allocations: 0.5607 MB / 1.113 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005766/1.001, allocations: 416.4 kB / 1.114 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/1.004, allocations: 2.638 MB / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/1.004, allocations: 0 / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.284e-06/1.004, allocations: 0 / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.754e-05/1.004, allocations: 0 / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004684/1.009, allocations: 2.442 MB / 1.119 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.009, allocations: 8.031 kB / 1.119 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/1.013, allocations: 0.5822 MB / 1.119 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004248/1.017, allocations: 3.317 MB / 1.123 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/1.017, allocations: 131.4 kB / 1.123 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/1.018, allocations: 172 kB / 1.123 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/1.021, allocations: 1.941 MB / 1.125 GB, free: 276 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/1.022, allocations: 0 / 1.125 GB, free: 276 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/1.022, allocations: 72 kB / 1.125 GB, free: 204 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/1.022, allocations: 44 kB / 1.125 GB, free: 160 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/1.026, allocations: 2.12 MB / 1.127 GB, free: 14.03 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/1.039, allocations: 6.403 MB / 1.133 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/1.043, allocations: 1.879 MB / 1.135 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/1.043, allocations: 85.2 kB / 1.135 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/1.045, allocations: 1.009 MB / 1.136 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=146): time 2.885e-06/1.045, allocations: 4 kB / 1.136 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of matching and sorting (n=146): time 0.006891/1.052, allocations: 3.007 MB / 1.139 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.052, allocations: 197.2 kB / 1.139 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004611/1.056, allocations: 4.054 MB / 1.143 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004004/1.057, allocations: 61.7 kB / 1.143 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007687/1.058, allocations: 0.8984 MB / 1.144 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005505/1.058, allocations: 484.9 kB / 1.145 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/1.058, allocations: 24 kB / 1.145 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.058, allocations: 349.9 kB / 1.145 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/1.06, allocations: 0.5843 MB / 1.145 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/1.061, allocations: 0.8103 MB / 1.146 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/1.062, allocations: 0.6622 MB / 1.147 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.062, allocations: 0 / 1.147 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003921/1.066, allocations: 1.799 MB / 1.149 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/1.066, allocations: 7.984 kB / 1.149 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.066, allocations: 3.953 kB / 1.149 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/1.067, allocations: 204.2 kB / 1.149 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/1.069, allocations: 343.5 kB / 1.149 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/1.074, allocations: 6.856 MB / 1.156 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.076, allocations: 188.5 kB / 1.156 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.076, allocations: 51.97 kB / 1.156 GB, free: 14.87 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * 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.0009752/1.077, allocations: 497.1 kB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/1.078, allocations: 193.7 kB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/1.082, allocations: 2.165 MB / 1.159 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.082, allocations: 16 kB / 1.159 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.082, allocations: 3.938 kB / 1.159 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/1.082, allocations: 19.84 kB / 1.159 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/1.089, allocations: 3.954 MB / 1.163 GB, free: 7.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.089, allocations: 7.938 kB / 1.163 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.091, allocations: 323.6 kB / 1.163 GB, free: 7.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000981/1.092, allocations: 220.2 kB / 1.163 GB, free: 7.344 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/1.092, allocations: 39.97 kB / 1.163 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/1.097, allocations: 6.886 MB / 1.17 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.097, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/1.102, allocations: 2.211 MB / 1.172 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.103, allocations: 0.5292 MB / 1.173 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/1.103, allocations: 35.94 kB / 1.173 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.105, allocations: 161.8 kB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/1.105, allocations: 121.1 kB / 1.173 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.105, allocations: 67.95 kB / 1.173 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003178/1.108, allocations: 3.117 MB / 1.176 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.108, allocations: 4 kB / 1.176 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002184/1.11, allocations: 0.6741 MB / 1.177 GB, free: 8.707 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001858/1.112, allocations: 0.7442 MB / 1.178 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003536/1.116, allocations: 2.07 MB / 1.18 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.116, allocations: 4.797 kB / 1.18 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/1.118, allocations: 1.454 MB / 1.181 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/1.121, allocations: 492.9 kB / 1.181 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/1.13, allocations: 4.763 MB / 1.186 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.131, allocations: 1.568 MB / 1.188 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002545/1.134, allocations: 0.5286 MB / 1.188 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/1.134, allocations: 187.3 kB / 1.188 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of SimCode: time 1.844e-06/1.134, allocations: 7.938 kB / 1.188 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of Templates: time 0.05553/1.19, allocations: 31.16 MB / 1.219 GB, free: 14 MB / 0.9825 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