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.00168/0.00168, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001868/0.001868, allocations: 187.5 kB / 17.3 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 68.56 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3565, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.8777/1.234, allocations: 168.4 MB / 1.191 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02424/1.259, allocations: 17.35 MB / 1.208 GB, free: 14.69 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003662/1.262, allocations: 30.69 kB / 1.208 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003088/1.266, allocations: 0.5692 MB / 1.209 GB, free: 14.2 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007472/1.273, allocations: 1.79 MB / 1.21 GB, free: 12.85 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004864/1.278, allocations: 1.442 MB / 1.212 GB, free: 11.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005664/1.284, allocations: 2.893 MB / 1.215 GB, free: 10.03 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004094/1.288, allocations: 1.94 MB / 1.217 GB, free: 8.746 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005878/1.294, allocations: 1.433 MB / 1.218 GB, free: 7.949 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/1.297, allocations: 1.116 MB / 1.219 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/1.298, allocations: 224.8 kB / 1.219 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006168/1.304, allocations: 1.557 MB / 1.221 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/1.306, allocations: 0.787 MB / 1.222 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002568/1.308, allocations: 1.228 MB / 1.223 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005867/1.314, allocations: 3.598 MB / 1.226 GB, free: 1.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.314, allocations: 0 / 1.226 GB, free: 1.012 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.264e-06/1.314, allocations: 4 kB / 1.226 GB, free: 1.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.173e-05/1.314, allocations: 0 / 1.226 GB, free: 1.008 MB / 0.92 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.005313/1.32, allocations: 2.779 MB / 1.229 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.32, allocations: 8.031 kB / 1.229 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/1.323, allocations: 0.5551 MB / 1.23 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/1.326, allocations: 1.631 MB / 1.231 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.326, allocations: 131.4 kB / 1.231 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/1.327, allocations: 168 kB / 1.231 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003416/1.33, allocations: 1.96 MB / 1.233 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/1.33, allocations: 4 kB / 1.233 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/1.33, allocations: 72 kB / 1.233 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/1.33, allocations: 44 kB / 1.233 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/1.334, allocations: 2.12 MB / 1.236 GB, free: 7.367 MB / 0.9356 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.009589/1.343, allocations: 6.193 MB / 1.242 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/1.347, allocations: 2.129 MB / 1.244 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/1.348, allocations: 0.7691 MB / 1.244 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005907/1.348, allocations: 433.6 kB / 1.245 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/1.35, allocations: 1.022 MB / 1.246 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 4.759e-06/1.35, allocations: 0 / 1.246 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146): time 0.006872/1.357, allocations: 3 MB / 1.249 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.357, allocations: 193.2 kB / 1.249 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/1.36, allocations: 1.805 MB / 1.251 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002569/1.36, allocations: 57.7 kB / 1.251 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009543/1.361, allocations: 0.8428 MB / 1.252 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005305/1.362, allocations: 485 kB / 1.252 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004244/1.362, allocations: 254.8 kB / 1.252 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.362, allocations: 357.9 kB / 1.253 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/1.363, allocations: 0.6077 MB / 1.253 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/1.365, allocations: 0.8092 MB / 1.254 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/1.367, allocations: 1.357 MB / 1.255 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.367, allocations: 0 / 1.255 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004146/1.371, allocations: 1.834 MB / 1.257 GB, free: 456 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.371, allocations: 11.92 kB / 1.257 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.371, allocations: 0 / 1.257 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.372, allocations: 216.1 kB / 1.257 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.374, allocations: 339.6 kB / 1.258 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/1.38, allocations: 7.316 MB / 1.265 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.382, allocations: 176.5 kB / 1.265 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.382, allocations: 60.02 kB / 1.265 GB, free: 7.625 MB / 0.9669 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001214/1.384, allocations: 495 kB / 1.266 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/1.384, allocations: 177.8 kB / 1.266 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004814/1.389, allocations: 2.148 MB / 1.268 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/1.389, allocations: 16 kB / 1.268 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.389, allocations: 0 / 1.268 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/1.389, allocations: 7.969 kB / 1.268 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007762/1.397, allocations: 4.002 MB / 1.272 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.397, allocations: 4 kB / 1.272 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.398, allocations: 327.5 kB / 1.272 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008467/1.399, allocations: 196.1 kB / 1.272 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.399, allocations: 47.95 kB / 1.272 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/1.405, allocations: 7.349 MB / 1.279 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.406, allocations: 3.938 kB / 1.279 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/1.41, allocations: 2.016 MB / 1.281 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.412, allocations: 466.4 kB / 1.282 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.412, allocations: 35.94 kB / 1.282 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.413, allocations: 105 kB / 1.282 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/1.414, allocations: 117.1 kB / 1.282 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.414, allocations: 71.95 kB / 1.282 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001945/1.416, allocations: 1.293 MB / 1.283 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.51e-07/1.416, allocations: 3.938 kB / 1.283 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002123/1.418, allocations: 0.682 MB / 1.284 GB, free: 3.207 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001923/1.42, allocations: 0.7518 MB / 1.285 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.424, allocations: 2.109 MB / 1.287 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.424, allocations: 4.562 kB / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/1.426, allocations: 1.419 MB / 1.288 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/1.428, allocations: 0.564 MB / 1.289 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/1.436, allocations: 3.822 MB / 1.293 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.437, allocations: 1.525 MB / 1.294 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002022/1.439, allocations: 0.4969 MB / 1.295 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/1.44, allocations: 179.3 kB / 1.295 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of SimCode: time 1.523e-06/1.44, allocations: 0 / 1.295 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of Templates: time 0.05948/1.499, allocations: 32.09 MB / 1.326 GB, free: 8.586 MB / 1.029 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches