Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00993/0.00993, allocations: 103.7 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.001764/0.001764, allocations: 194 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.654/2.654, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 62.41 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3045, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1897/0.4942, allocations: 167.2 MB / 1.251 GB, free: 9.633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.7703/1.265, allocations: 17.19 MB / 1.268 GB, free: 3.492 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/1.266, allocations: 31.97 kB / 1.268 GB, free: 3.492 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/1.268, allocations: 0.5371 MB / 1.269 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006293/1.274, allocations: 1.685 MB / 1.27 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004464/1.279, allocations: 1.42 MB / 1.272 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004531/1.283, allocations: 2.684 MB / 1.274 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003682/1.287, allocations: 2 MB / 1.276 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005214/1.292, allocations: 1.402 MB / 1.278 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/1.295, allocations: 1.083 MB / 1.279 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007186/1.296, allocations: 225.5 kB / 1.279 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004796/1.301, allocations: 1.555 MB / 1.28 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/1.302, allocations: 0.7977 MB / 1.281 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002273/1.304, allocations: 1.181 MB / 1.282 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008696/1.313, allocations: 3.54 MB / 1.286 GB, free: 2.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/1.313, allocations: 0.7969 kB / 1.286 GB, free: 2.496 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.244e-06/1.313, allocations: 1.125 kB / 1.286 GB, free: 2.496 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.393e-05/1.313, allocations: 0.9375 kB / 1.286 GB, free: 2.496 MB / 1.014 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.006768/1.32, allocations: 2.74 MB / 1.288 GB, free: 1.176 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.32, allocations: 9.75 kB / 1.288 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/1.324, allocations: 0.5545 MB / 1.289 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/1.327, allocations: 1.632 MB / 1.291 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.328, allocations: 132.5 kB / 1.291 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/1.328, allocations: 169.1 kB / 1.291 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/1.332, allocations: 1.957 MB / 1.293 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/1.332, allocations: 1.469 kB / 1.293 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/1.332, allocations: 78.03 kB / 1.293 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/1.332, allocations: 41.75 kB / 1.293 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003736/1.336, allocations: 2.117 MB / 1.295 GB, free: 388 kB / 1.014 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.009253/1.345, allocations: 5.811 MB / 1.301 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/1.348, allocations: 2.138 MB / 1.303 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/1.35, allocations: 0.77 MB / 1.303 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/1.35, allocations: 432.6 kB / 1.304 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/1.352, allocations: 1.011 MB / 1.305 GB, free: 13.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.166e-06/1.352, allocations: 0 / 1.305 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.007052/1.359, allocations: 2.981 MB / 1.308 GB, free: 12.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.359, allocations: 203.6 kB / 1.308 GB, free: 12.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/1.362, allocations: 1.809 MB / 1.31 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.362, allocations: 58.77 kB / 1.31 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008662/1.363, allocations: 0.8406 MB / 1.311 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005102/1.364, allocations: 482.8 kB / 1.311 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004174/1.364, allocations: 258 kB / 1.311 GB, free: 11.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.364, allocations: 360.4 kB / 1.312 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.365, allocations: 0.6024 MB / 1.312 GB, free: 11.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/1.367, allocations: 0.8156 MB / 1.313 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/1.369, allocations: 1.358 MB / 1.314 GB, free: 11.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.369, allocations: 0 / 1.314 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004269/1.373, allocations: 1.834 MB / 1.316 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/1.373, allocations: 6.594 kB / 1.316 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.373, allocations: 0.8438 kB / 1.316 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.374, allocations: 214.2 kB / 1.316 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.376, allocations: 342.6 kB / 1.317 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006594/1.383, allocations: 7.316 MB / 1.324 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.385, allocations: 163.2 kB / 1.324 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.385, allocations: 57.09 kB / 1.324 GB, free: 4.316 MB / 1.029 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.001299/1.386, allocations: 490.3 kB / 1.324 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/1.387, allocations: 183 kB / 1.325 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/1.391, allocations: 2.146 MB / 1.327 GB, free: 3.922 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.391, allocations: 17.56 kB / 1.327 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.391, allocations: 5.969 kB / 1.327 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.391, allocations: 5.625 kB / 1.327 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007199/1.398, allocations: 4.001 MB / 1.331 GB, free: 2.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.398, allocations: 4 kB / 1.331 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.4, allocations: 323.8 kB / 1.331 GB, free: 2.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008553/1.401, allocations: 197.5 kB / 1.331 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.401, allocations: 43.34 kB / 1.331 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006148/1.407, allocations: 7.361 MB / 1.338 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.407, allocations: 0.9375 kB / 1.338 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/1.412, allocations: 2.008 MB / 1.34 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.413, allocations: 474.5 kB / 1.341 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/1.413, allocations: 32.69 kB / 1.341 GB, free: 9.879 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.414, allocations: 108.8 kB / 1.341 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/1.415, allocations: 115.8 kB / 1.341 GB, free: 9.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.415, allocations: 74.28 kB / 1.341 GB, free: 9.824 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001772/1.417, allocations: 1.298 MB / 1.342 GB, free: 9.375 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.417, allocations: 0 / 1.342 GB, free: 9.375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001979/1.419, allocations: 0.6639 MB / 1.343 GB, free: 9.211 MB / 1.045 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.001759/1.42, allocations: 0.7652 MB / 1.344 GB, free: 8.918 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003549/1.424, allocations: 2.102 MB / 1.346 GB, free: 7.914 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.424, allocations: 7.016 kB / 1.346 GB, free: 7.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.426, allocations: 1.422 MB / 1.347 GB, free: 7.105 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.429, allocations: 0.5281 MB / 1.348 GB, free: 6.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007598/1.436, allocations: 3.927 MB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/1.437, allocations: 1.538 MB / 1.353 GB, free: 4.379 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001879/1.439, allocations: 0.4948 MB / 1.354 GB, free: 4.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/1.44, allocations: 174.9 kB / 1.354 GB, free: 4.211 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/1.44, allocations: 0 / 1.354 GB, free: 4.211 MB / 1.045 GB Notification: Performance of Templates: time 0.05582/1.495, allocations: 31.57 MB / 1.385 GB, free: 15.18 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches