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.00116/0.00116, allocations: 110.6 kB / 16.41 MB, free: 6.488 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.001266/0.001266, allocations: 187 kB / 17.34 MB, free: 5.762 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.335/1.335, allocations: 222.9 MB / 241 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.56/2.56, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 64.11 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205/1.207, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2192/1.426, allocations: 168.4 MB / 1.373 GB, free: 4.539 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02539/1.451, allocations: 17.35 MB / 1.39 GB, free: 3.141 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/1.454, allocations: 31.81 kB / 1.39 GB, free: 3.109 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/1.456, allocations: 0.5934 MB / 1.39 GB, free: 2.512 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006273/1.462, allocations: 1.823 MB / 1.392 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004182/1.467, allocations: 1.439 MB / 1.394 GB, free: 15.26 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005245/1.472, allocations: 2.906 MB / 1.396 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004519/1.477, allocations: 1.94 MB / 1.398 GB, free: 10.35 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005632/1.482, allocations: 1.478 MB / 1.4 GB, free: 8.914 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/1.484, allocations: 1.124 MB / 1.401 GB, free: 7.785 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0008378/1.485, allocations: 220 kB / 1.401 GB, free: 7.57 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/1.489, allocations: 1.56 MB / 1.403 GB, free: 6.008 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/1.49, allocations: 0.7946 MB / 1.403 GB, free: 5.211 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002849/1.493, allocations: 1.22 MB / 1.405 GB, free: 3.984 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007051/1.5, allocations: 3.606 MB / 1.408 GB, free: 376 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.5, allocations: 0 / 1.408 GB, free: 376 kB / 1.123 GB Notification: Performance of FrontEnd: time 2.314e-06/1.5, allocations: 0 / 1.408 GB, free: 376 kB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001339/1.5, allocations: 0 / 1.408 GB, free: 376 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.006932/1.507, allocations: 2.77 MB / 1.411 GB, free: 13.54 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.507, allocations: 8.031 kB / 1.411 GB, free: 13.53 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/1.511, allocations: 0.559 MB / 1.411 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/1.514, allocations: 1.627 MB / 1.413 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/1.515, allocations: 135.3 kB / 1.413 GB, free: 11.15 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/1.515, allocations: 168 kB / 1.413 GB, free: 10.99 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/1.519, allocations: 1.96 MB / 1.415 GB, free: 8.977 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/1.519, allocations: 0 / 1.415 GB, free: 8.977 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/1.519, allocations: 76 kB / 1.415 GB, free: 8.902 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/1.519, allocations: 40 kB / 1.415 GB, free: 8.863 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003862/1.523, allocations: 2.117 MB / 1.417 GB, free: 6.742 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.01088/1.534, allocations: 6.185 MB / 1.423 GB, free: 216 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/1.538, allocations: 2.128 MB / 1.425 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/1.539, allocations: 0.7769 MB / 1.426 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/1.54, allocations: 429.5 kB / 1.427 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/1.542, allocations: 1.025 MB / 1.428 GB, free: 11.69 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 4.328e-06/1.542, allocations: 4 kB / 1.428 GB, free: 11.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.007229/1.549, allocations: 2.985 MB / 1.431 GB, free: 8.586 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.55, allocations: 197.2 kB / 1.431 GB, free: 8.348 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.553, allocations: 1.816 MB / 1.433 GB, free: 6.52 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002196/1.553, allocations: 57.7 kB / 1.433 GB, free: 6.457 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008396/1.554, allocations: 0.8351 MB / 1.433 GB, free: 5.609 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005136/1.554, allocations: 481 kB / 1.434 GB, free: 5.133 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004796/1.555, allocations: 262.6 kB / 1.434 GB, free: 4.871 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.555, allocations: 357.9 kB / 1.434 GB, free: 4.516 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/1.556, allocations: 0.6076 MB / 1.435 GB, free: 3.906 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/1.558, allocations: 0.813 MB / 1.436 GB, free: 3.043 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.56, allocations: 1.357 MB / 1.437 GB, free: 1.672 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.56, allocations: 0 / 1.437 GB, free: 1.672 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004337/1.565, allocations: 1.838 MB / 1.439 GB, free: 15.81 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.565, allocations: 11.94 kB / 1.439 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.565, allocations: 0 / 1.439 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.566, allocations: 204.2 kB / 1.439 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.567, allocations: 343.5 kB / 1.439 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006261/1.574, allocations: 7.314 MB / 1.447 GB, free: 7.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.575, allocations: 173.6 kB / 1.447 GB, free: 7.062 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/1.576, allocations: 51.97 kB / 1.447 GB, free: 7.012 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.001191/1.577, allocations: 495.2 kB / 1.447 GB, free: 6.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/1.578, allocations: 185.8 kB / 1.447 GB, free: 6.336 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/1.582, allocations: 2.141 MB / 1.45 GB, free: 4.168 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/1.583, allocations: 16 kB / 1.45 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.583, allocations: 4 kB / 1.45 GB, free: 4.148 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.583, allocations: 11.97 kB / 1.45 GB, free: 4.137 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007815/1.59, allocations: 4.005 MB / 1.454 GB, free: 52 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.59, allocations: 3.938 kB / 1.454 GB, free: 48 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.592, allocations: 319.6 kB / 1.454 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008926/1.593, allocations: 200.1 kB / 1.454 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.593, allocations: 39.97 kB / 1.454 GB, free: 15.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005956/1.599, allocations: 7.359 MB / 1.461 GB, free: 7.41 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.599, allocations: 4 kB / 1.461 GB, free: 7.406 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/1.604, allocations: 2.008 MB / 1.463 GB, free: 5.359 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.605, allocations: 470.4 kB / 1.464 GB, free: 4.879 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/1.605, allocations: 39.89 kB / 1.464 GB, free: 4.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.607, allocations: 99.89 kB / 1.464 GB, free: 4.742 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/1.607, allocations: 113.2 kB / 1.464 GB, free: 4.633 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.607, allocations: 75.94 kB / 1.464 GB, free: 4.559 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002113/1.609, allocations: 1.293 MB / 1.465 GB, free: 3.27 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.8e-07/1.609, allocations: 0 / 1.465 GB, free: 3.27 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002351/1.612, allocations: 0.6859 MB / 1.466 GB, free: 2.582 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.002102/1.614, allocations: 0.7594 MB / 1.467 GB, free: 2.008 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003957/1.618, allocations: 2.109 MB / 1.469 GB, free: 15.83 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.618, allocations: 0.5625 kB / 1.469 GB, free: 15.83 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/1.62, allocations: 1.426 MB / 1.47 GB, free: 14.34 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/1.623, allocations: 0.5431 MB / 1.471 GB, free: 13.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007652/1.631, allocations: 3.771 MB / 1.474 GB, free: 10.01 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.632, allocations: 1.486 MB / 1.476 GB, free: 8.496 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008407/1.633, allocations: 191.3 kB / 1.476 GB, free: 8.309 MB / 1.201 GB Notification: Performance of SimCode: time 1.072e-06/1.633, allocations: 4 kB / 1.476 GB, free: 8.305 MB / 1.201 GB Notification: Performance of Templates: time 0.07324/1.706, allocations: 67.52 MB / 1.542 GB, free: 4.84 MB / 1.264 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/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