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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00153/0.00153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002041/0.002041, allocations: 199.2 kB / 16.14 MB, free: 6.719 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.879/2.879, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.643/0.6451, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1919/0.8369, allocations: 166.1 MB / 1.179 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02498/0.862, allocations: 17.41 MB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.8635, allocations: 27.81 kB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.8655, allocations: 493 kB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.8706, allocations: 1.591 MB / 1.198 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.8743, allocations: 1.272 MB / 1.199 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004117/0.8784, allocations: 3.113 MB / 1.202 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003014/0.8815, allocations: 1.802 MB / 1.204 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007036/0.8885, allocations: 1.265 MB / 1.205 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.8908, allocations: 1.097 MB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0008646/0.8917, allocations: 120 kB / 1.206 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004821/0.8965, allocations: 1.583 MB / 1.208 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.8977, allocations: 0.6892 MB / 1.209 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.8997, allocations: 1.127 MB / 1.21 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005363/0.9051, allocations: 3.516 MB / 1.213 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9051, allocations: 0 / 1.213 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9051, allocations: 3.938 kB / 1.213 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001161/0.9053, allocations: 0 / 1.213 GB, free: 8.801 MB / 0.9669 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.006454/0.9117, allocations: 2.768 MB / 1.216 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.9118, allocations: 12.03 kB / 1.216 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/0.916, allocations: 0.5551 MB / 1.216 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.919, allocations: 1.596 MB / 1.218 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.9191, allocations: 131.4 kB / 1.218 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.9194, allocations: 168 kB / 1.218 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.9236, allocations: 1.956 MB / 1.22 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.9237, allocations: 0 / 1.22 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.9239, allocations: 76 kB / 1.22 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.9239, allocations: 43.94 kB / 1.22 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.9282, allocations: 2.124 MB / 1.222 GB, free: 15.2 MB / 0.9825 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.01014/0.9383, allocations: 6.227 MB / 1.228 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.9422, allocations: 2.131 MB / 1.231 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.9436, allocations: 0.7686 MB / 1.231 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007161/0.9444, allocations: 441.5 kB / 1.232 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001934/0.9463, allocations: 1.021 MB / 1.233 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.487e-06/0.9463, allocations: 0 / 1.233 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007433/0.9538, allocations: 2.993 MB / 1.236 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.9539, allocations: 197.2 kB / 1.236 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/0.9567, allocations: 1.801 MB / 1.238 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.9569, allocations: 57.7 kB / 1.238 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008477/0.9577, allocations: 0.8428 MB / 1.238 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.9582, allocations: 477 kB / 1.239 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.9587, allocations: 254.8 kB / 1.239 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.9589, allocations: 365.9 kB / 1.239 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.9602, allocations: 0.6038 MB / 1.24 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.9618, allocations: 0.8208 MB / 1.241 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.9646, allocations: 1.349 MB / 1.242 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.9646, allocations: 0 / 1.242 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004582/0.9692, allocations: 1.834 MB / 1.244 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.9693, allocations: 7.938 kB / 1.244 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.9693, allocations: 4 kB / 1.244 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.9706, allocations: 216.1 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.9723, allocations: 335.5 kB / 1.245 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00702/0.9794, allocations: 6.826 MB / 1.251 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6313/1.611, allocations: 184.6 kB / 1.251 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/1.611, allocations: 54.27 kB / 1.251 GB, free: 229.7 MB / 0.9981 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.001239/1.612, allocations: 493.6 kB / 1.252 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/1.613, allocations: 183.4 kB / 1.252 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005416/1.618, allocations: 2.143 MB / 1.254 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/1.618, allocations: 15.09 kB / 1.254 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.618, allocations: 5.797 kB / 1.254 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/1.618, allocations: 7.406 kB / 1.254 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008616/1.627, allocations: 4.012 MB / 1.258 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.627, allocations: 0.625 kB / 1.258 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.629, allocations: 324.3 kB / 1.258 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/1.63, allocations: 204.3 kB / 1.259 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/1.63, allocations: 41.7 kB / 1.259 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004936/1.635, allocations: 6.844 MB / 1.265 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.635, allocations: 1.156 kB / 1.265 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00544/1.64, allocations: 2.007 MB / 1.267 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.642, allocations: 470.6 kB / 1.268 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.642, allocations: 33.91 kB / 1.268 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.643, allocations: 135.2 kB / 1.268 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004102/1.644, allocations: 113.4 kB / 1.268 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.644, allocations: 73.25 kB / 1.268 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002557/1.647, allocations: 1.295 MB / 1.269 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.81e-07/1.647, allocations: 4.562 kB / 1.269 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003148/1.65, allocations: 0.6916 MB / 1.27 GB, free: 219.6 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 (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.002913/1.653, allocations: 0.7428 MB / 1.271 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004742/1.657, allocations: 2.101 MB / 1.273 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.657, allocations: 2.656 kB / 1.273 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/1.66, allocations: 1.432 MB / 1.274 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.663, allocations: 0.5185 MB / 1.275 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00768/1.67, allocations: 4.701 MB / 1.279 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.672, allocations: 1.537 MB / 1.281 GB, free: 214 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002305/1.674, allocations: 0.5055 MB / 1.281 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/1.675, allocations: 170.8 kB / 1.281 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.675, allocations: 0 / 1.281 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04708/1.722, allocations: 30.85 MB / 1.312 GB, free: 188.9 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=400 -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