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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 100.1 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.001508/0.001508, allocations: 177.3 kB / 15.95 MB, free: 216 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.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.619/2.619, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6341, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1449/0.779, allocations: 140.3 MB / 1.158 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.7966, allocations: 14.19 MB / 1.172 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.798, allocations: 27.81 kB / 1.172 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.7993, allocations: 346 kB / 1.172 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.8035, allocations: 1.338 MB / 1.173 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.8066, allocations: 1.102 MB / 1.174 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002654/0.8093, allocations: 1.596 MB / 1.176 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.8111, allocations: 1.515 MB / 1.177 GB, free: 296 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.8128, allocations: 0.9302 MB / 1.178 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009603/0.8138, allocations: 0.7154 MB / 1.179 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.814, allocations: 52 kB / 1.179 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.8164, allocations: 0.9907 MB / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000571/0.817, allocations: 0.5646 MB / 1.181 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.8175, allocations: 420.4 kB / 1.181 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.8207, allocations: 2.634 MB / 1.184 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.8207, allocations: 0 / 1.184 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8207, allocations: 0 / 1.184 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.436e-05/0.8208, allocations: 4 kB / 1.184 GB, free: 9.965 MB / 0.9356 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.004461/0.8252, allocations: 2.436 MB / 1.186 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.8253, allocations: 8.031 kB / 1.186 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/0.8291, allocations: 0.5823 MB / 1.187 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.8334, allocations: 3.329 MB / 1.19 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.8336, allocations: 131.4 kB / 1.19 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.8338, allocations: 164 kB / 1.19 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/0.8373, allocations: 1.945 MB / 1.192 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.8374, allocations: 0 / 1.192 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.8375, allocations: 72 kB / 1.192 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.8376, allocations: 40 kB / 1.192 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.8412, allocations: 2.124 MB / 1.194 GB, free: 14.97 MB / 0.9512 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.01035/0.8516, allocations: 6.41 MB / 1.2 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.8552, allocations: 1.872 MB / 1.202 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.8554, allocations: 69.23 kB / 1.202 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001797/0.8572, allocations: 1.017 MB / 1.203 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 2.885e-06/0.8572, allocations: 0 / 1.203 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146): time 0.006926/0.8641, allocations: 3.007 MB / 1.206 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.8643, allocations: 205.2 kB / 1.206 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004709/0.869, allocations: 4.054 MB / 1.21 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/0.8693, allocations: 57.7 kB / 1.21 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008144/0.8701, allocations: 0.9101 MB / 1.211 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.8706, allocations: 480.9 kB / 1.212 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/0.8707, allocations: 28 kB / 1.212 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8709, allocations: 353.9 kB / 1.212 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.872, allocations: 0.5804 MB / 1.213 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.8734, allocations: 0.8052 MB / 1.214 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.8747, allocations: 0.6584 MB / 1.214 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.8747, allocations: 0 / 1.214 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003976/0.8787, allocations: 1.803 MB / 1.216 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8788, allocations: 4 kB / 1.216 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8788, allocations: 3.938 kB / 1.216 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.8799, allocations: 212.2 kB / 1.216 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.8816, allocations: 331.5 kB / 1.216 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.8876, allocations: 6.854 MB / 1.223 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.8894, allocations: 187.5 kB / 1.223 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.8895, allocations: 55.95 kB / 1.223 GB, free: 15.82 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: 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.000978/0.8905, allocations: 481.4 kB / 1.224 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.8909, allocations: 193.6 kB / 1.224 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/0.8955, allocations: 2.173 MB / 1.226 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.8956, allocations: 16 kB / 1.226 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.8956, allocations: 3.938 kB / 1.226 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.8956, allocations: 11.91 kB / 1.226 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006952/0.9026, allocations: 3.965 MB / 1.23 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.9026, allocations: 4 kB / 1.23 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.9041, allocations: 335.8 kB / 1.23 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009465/0.9051, allocations: 212.1 kB / 1.231 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.9052, allocations: 47.95 kB / 1.231 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/0.9112, allocations: 6.886 MB / 1.237 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9113, allocations: 8.062 kB / 1.237 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004349/0.9156, allocations: 2.203 MB / 1.24 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.9167, allocations: 0.5292 MB / 1.24 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.9169, allocations: 32 kB / 1.24 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.9183, allocations: 150.5 kB / 1.24 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.9186, allocations: 129 kB / 1.24 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.9187, allocations: 75.88 kB / 1.24 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003201/0.9219, allocations: 3.117 MB / 1.243 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9219, allocations: 0 / 1.243 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0017/0.9237, allocations: 0.6625 MB / 1.244 GB, free: 9.672 MB / 0.9981 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.001599/0.9253, allocations: 0.7615 MB / 1.245 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003373/0.9286, allocations: 2.07 MB / 1.247 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9287, allocations: 4.562 kB / 1.247 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.9308, allocations: 1.454 MB / 1.248 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.9328, allocations: 487.6 kB / 1.249 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/0.9406, allocations: 4.766 MB / 1.253 GB, free: 152 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4387/1.379, allocations: 1.57 MB / 1.255 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002713/1.382, allocations: 0.5237 MB / 1.255 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/1.383, allocations: 188.7 kB / 1.256 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.312e-06/1.383, allocations: 0.75 kB / 1.256 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.05532/1.438, allocations: 31.16 MB / 1.286 GB, free: 213.4 MB / 0.9981 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