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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009918/0.009918, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002162/0.002162, allocations: 196.8 kB / 16.68 MB, free: 5.965 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.84 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.869/0.8703, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1862/1.057, allocations: 168.4 MB / 1.372 GB, free: 4.527 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02123/1.078, allocations: 17.35 MB / 1.389 GB, free: 3.125 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/1.08, allocations: 35.75 kB / 1.389 GB, free: 3.09 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002145/1.082, allocations: 0.5739 MB / 1.39 GB, free: 2.512 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006537/1.089, allocations: 1.787 MB / 1.391 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004523/1.093, allocations: 1.439 MB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005236/1.099, allocations: 2.891 MB / 1.396 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/1.102, allocations: 1.936 MB / 1.398 GB, free: 10.4 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004563/1.106, allocations: 1.457 MB / 1.399 GB, free: 8.988 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/1.108, allocations: 1.117 MB / 1.4 GB, free: 7.867 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003095/1.108, allocations: 220 kB / 1.4 GB, free: 7.652 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/1.111, allocations: 1.564 MB / 1.402 GB, free: 6.086 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008432/1.112, allocations: 0.7946 MB / 1.403 GB, free: 5.289 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001641/1.114, allocations: 1.22 MB / 1.404 GB, free: 4.062 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007021/1.121, allocations: 3.598 MB / 1.407 GB, free: 464 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.121, allocations: 7.938 kB / 1.407 GB, free: 456 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.743e-06/1.121, allocations: 0 / 1.407 GB, free: 456 kB / 1.123 GB Notification: Performance of Transformations before backend: time 4.238e-05/1.121, allocations: 0 / 1.407 GB, free: 456 kB / 1.123 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.004881/1.126, allocations: 2.763 MB / 1.41 GB, free: 13.62 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.126, allocations: 12.03 kB / 1.41 GB, free: 13.61 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/1.129, allocations: 0.5629 MB / 1.411 GB, free: 13.04 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/1.132, allocations: 1.631 MB / 1.412 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/1.132, allocations: 131.4 kB / 1.412 GB, free: 11.23 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/1.132, allocations: 168 kB / 1.412 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/1.135, allocations: 1.96 MB / 1.414 GB, free: 9.055 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/1.135, allocations: 4 kB / 1.414 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/1.136, allocations: 68 kB / 1.414 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/1.136, allocations: 43.98 kB / 1.415 GB, free: 8.941 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/1.139, allocations: 2.117 MB / 1.417 GB, free: 6.82 MB / 1.139 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.00901/1.148, allocations: 6.185 MB / 1.423 GB, free: 296 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/1.151, allocations: 2.132 MB / 1.425 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.153, allocations: 0.7769 MB / 1.425 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/1.153, allocations: 433.5 kB / 1.426 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/1.155, allocations: 1.013 MB / 1.427 GB, free: 11.77 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 5.531e-06/1.155, allocations: 4 kB / 1.427 GB, free: 11.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.007558/1.163, allocations: 2.996 MB / 1.43 GB, free: 8.66 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002046/1.163, allocations: 193.2 kB / 1.43 GB, free: 8.426 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/1.166, allocations: 1.816 MB / 1.432 GB, free: 6.598 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/1.166, allocations: 57.7 kB / 1.432 GB, free: 6.535 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008244/1.167, allocations: 0.8351 MB / 1.433 GB, free: 5.688 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005242/1.167, allocations: 485 kB / 1.433 GB, free: 5.207 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004655/1.168, allocations: 258.7 kB / 1.433 GB, free: 4.949 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002292/1.168, allocations: 357.9 kB / 1.434 GB, free: 4.594 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/1.169, allocations: 0.6077 MB / 1.434 GB, free: 3.984 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/1.171, allocations: 0.8053 MB / 1.435 GB, free: 3.129 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/1.173, allocations: 1.364 MB / 1.436 GB, free: 1.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.173, allocations: 0 / 1.436 GB, free: 1.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004061/1.177, allocations: 1.834 MB / 1.438 GB, free: 15.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.177, allocations: 7.938 kB / 1.438 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.177, allocations: 7.984 kB / 1.438 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/1.179, allocations: 208.1 kB / 1.438 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.18, allocations: 343.6 kB / 1.439 GB, free: 15.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006281/1.186, allocations: 7.31 MB / 1.446 GB, free: 7.309 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.188, allocations: 176.6 kB / 1.446 GB, free: 7.137 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.189, allocations: 59.95 kB / 1.446 GB, free: 7.078 MB / 1.17 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.001002/1.19, allocations: 483.2 kB / 1.447 GB, free: 6.598 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/1.19, allocations: 185.7 kB / 1.447 GB, free: 6.414 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/1.194, allocations: 2.137 MB / 1.449 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.194, allocations: 16 kB / 1.449 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.194, allocations: 0 / 1.449 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/1.194, allocations: 11.97 kB / 1.449 GB, free: 4.223 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006791/1.201, allocations: 4.009 MB / 1.453 GB, free: 136 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.201, allocations: 3.938 kB / 1.453 GB, free: 132 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/1.203, allocations: 323.6 kB / 1.453 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008884/1.203, allocations: 196.1 kB / 1.453 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.965e-05/1.204, allocations: 43.95 kB / 1.453 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/1.209, allocations: 7.363 MB / 1.46 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.209, allocations: 3.938 kB / 1.46 GB, free: 7.48 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/1.214, allocations: 2.008 MB / 1.462 GB, free: 5.434 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.215, allocations: 474.4 kB / 1.463 GB, free: 4.949 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/1.215, allocations: 28 kB / 1.463 GB, free: 4.922 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.216, allocations: 103.9 kB / 1.463 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/1.216, allocations: 121.1 kB / 1.463 GB, free: 4.703 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.216, allocations: 67.95 kB / 1.463 GB, free: 4.637 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001601/1.218, allocations: 1.293 MB / 1.464 GB, free: 3.348 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.218, allocations: 0 / 1.464 GB, free: 3.348 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001864/1.22, allocations: 0.6898 MB / 1.465 GB, free: 2.656 MB / 1.186 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.001773/1.222, allocations: 0.7533 MB / 1.466 GB, free: 2.086 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003617/1.225, allocations: 2.105 MB / 1.468 GB, free: 15.91 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.225, allocations: 4.562 kB / 1.468 GB, free: 15.91 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.227, allocations: 1.426 MB / 1.469 GB, free: 14.42 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.23, allocations: 0.5477 MB / 1.47 GB, free: 13.9 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/1.237, allocations: 3.82 MB / 1.474 GB, free: 10.05 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.238, allocations: 1.533 MB / 1.475 GB, free: 8.484 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00184/1.24, allocations: 0.4931 MB / 1.476 GB, free: 7.984 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/1.241, allocations: 179.3 kB / 1.476 GB, free: 7.809 MB / 1.201 GB Notification: Performance of SimCode: time 3.216e-06/1.241, allocations: 0 / 1.476 GB, free: 7.809 MB / 1.201 GB Notification: Performance of Templates: time 0.06224/1.303, allocations: 33.01 MB / 1.508 GB, free: 7.129 MB / 1.232 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","/var/lib/jenkins/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