Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008233/0.0008233, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008637/0.0008639, allocations: 168.7 kB / 15.95 MB, free: 204 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.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437.7 MB / 0.7117 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5751, allocations: 153.8 MB / 1.022 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1555/0.7306, allocations: 152.9 MB / 1.172 GB, free: 6.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.7489, allocations: 16.1 MB / 1.187 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.7501, allocations: 27.81 kB / 1.187 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.7513, allocations: 413 kB / 1.188 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.755, allocations: 1.407 MB / 1.189 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.7578, allocations: 1.12 MB / 1.19 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002711/0.7605, allocations: 2.785 MB / 1.193 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.7622, allocations: 1.45 MB / 1.194 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.7638, allocations: 1.031 MB / 1.195 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.7648, allocations: 0.8828 MB / 1.196 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.7649, allocations: 52 kB / 1.196 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.767, allocations: 1.014 MB / 1.197 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005189/0.7676, allocations: 0.5839 MB / 1.198 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.7679, allocations: 424.5 kB / 1.198 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002455/0.7704, allocations: 2.587 MB / 1.201 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7704, allocations: 0 / 1.201 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7704, allocations: 0 / 1.201 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.079e-05/0.7705, allocations: 4 kB / 1.201 GB, free: 8.918 MB / 0.9512 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.00363/0.7741, allocations: 2.344 MB / 1.203 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7741, allocations: 8.031 kB / 1.203 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.7776, allocations: 0.5669 MB / 1.204 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.7797, allocations: 1.546 MB / 1.205 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/0.7798, allocations: 123.4 kB / 1.205 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.78, allocations: 176 kB / 1.206 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.7832, allocations: 1.945 MB / 1.207 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.7832, allocations: 0 / 1.207 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.7834, allocations: 76 kB / 1.207 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.7834, allocations: 40 kB / 1.208 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.7869, allocations: 2.12 MB / 1.21 GB, free: 15.81 MB / 0.9669 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.008679/0.7955, allocations: 6.282 MB / 1.216 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.7987, allocations: 2.123 MB / 1.218 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.7999, allocations: 0.7764 MB / 1.219 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.8005, allocations: 429.6 kB / 1.219 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.8022, allocations: 1.021 MB / 1.22 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=146): time 2.995e-06/0.8022, allocations: 0 / 1.22 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=146): time 0.006223/0.8084, allocations: 3.02 MB / 1.223 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.8085, allocations: 205.2 kB / 1.223 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.8106, allocations: 1.793 MB / 1.225 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.8108, allocations: 57.7 kB / 1.225 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/0.8114, allocations: 0.8428 MB / 1.226 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.8118, allocations: 480.9 kB / 1.226 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.8119, allocations: 31.94 kB / 1.226 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.812, allocations: 353.9 kB / 1.227 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.8131, allocations: 0.6038 MB / 1.227 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.8144, allocations: 0.8209 MB / 1.228 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.8156, allocations: 0.674 MB / 1.229 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8156, allocations: 0 / 1.229 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003922/0.8196, allocations: 1.854 MB / 1.23 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8196, allocations: 5.562 kB / 1.23 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8196, allocations: 4 kB / 1.23 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009776/0.8206, allocations: 204.2 kB / 1.231 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.8222, allocations: 347.5 kB / 1.231 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005183/0.8274, allocations: 6.838 MB / 1.238 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.8289, allocations: 197.2 kB / 1.238 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.829, allocations: 59.95 kB / 1.238 GB, free: 1.359 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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.0008617/0.8299, allocations: 479.2 kB / 1.238 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.8301, allocations: 181.8 kB / 1.239 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.8345, allocations: 2.164 MB / 1.241 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.8345, allocations: 19.98 kB / 1.241 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.8345, allocations: 4 kB / 1.241 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.8345, allocations: 7.969 kB / 1.241 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006192/0.8407, allocations: 4.014 MB / 1.245 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.8408, allocations: 11.98 kB / 1.245 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.8422, allocations: 331.5 kB / 1.245 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008469/0.8431, allocations: 204.1 kB / 1.245 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-05/0.8432, allocations: 39.97 kB / 1.245 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/0.8482, allocations: 6.827 MB / 1.252 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8482, allocations: 11.91 kB / 1.252 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.8519, allocations: 2.014 MB / 1.254 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4894/1.341, allocations: 490.4 kB / 1.254 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003685/1.342, allocations: 28.98 kB / 1.254 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.343, allocations: 159.5 kB / 1.254 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/1.343, allocations: 116.5 kB / 1.255 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.344, allocations: 70.92 kB / 1.255 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002045/1.346, allocations: 1.281 MB / 1.256 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.346, allocations: 3.281 kB / 1.256 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002215/1.348, allocations: 0.6837 MB / 1.257 GB, free: 225.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.001908/1.35, allocations: 0.7531 MB / 1.257 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00384/1.354, allocations: 2.108 MB / 1.259 GB, free: 225 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.354, allocations: 2.531 kB / 1.259 GB, free: 225 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/1.356, allocations: 1.437 MB / 1.261 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.358, allocations: 0.4989 MB / 1.261 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/1.366, allocations: 4.607 MB / 1.266 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/1.368, allocations: 1.535 MB / 1.267 GB, free: 221 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002121/1.37, allocations: 0.4954 MB / 1.268 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/1.37, allocations: 174.6 kB / 1.268 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.37, allocations: 0 / 1.268 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04459/1.415, allocations: 29.66 MB / 1.297 GB, free: 204.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches