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.007739/0.007739, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001698/0.001698, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.549/1.549, 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 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.325, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.9895/1.314, allocations: 168.4 MB / 1.372 GB, free: 156 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02525/1.34, allocations: 17.36 MB / 1.389 GB, free: 3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/1.343, allocations: 30.28 kB / 1.389 GB, free: 2.988 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/1.345, allocations: 0.5875 MB / 1.39 GB, free: 2.492 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006154/1.351, allocations: 1.813 MB / 1.392 GB, free: 1.137 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/1.355, allocations: 1.446 MB / 1.393 GB, free: 52 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004032/1.359, allocations: 2.9 MB / 1.396 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/1.362, allocations: 1.949 MB / 1.398 GB, free: 13.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004036/1.366, allocations: 1.479 MB / 1.399 GB, free: 12.2 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/1.367, allocations: 1.123 MB / 1.4 GB, free: 11.45 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000331/1.368, allocations: 222.2 kB / 1.4 GB, free: 11.45 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/1.371, allocations: 1.56 MB / 1.402 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006176/1.371, allocations: 0.7851 MB / 1.403 GB, free: 10.15 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/1.373, allocations: 1.223 MB / 1.404 GB, free: 9.297 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004721/1.377, allocations: 3.603 MB / 1.407 GB, free: 6.824 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.377, allocations: 0 / 1.407 GB, free: 6.824 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.533e-06/1.377, allocations: 4 kB / 1.407 GB, free: 6.82 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.766e-05/1.377, allocations: 0 / 1.407 GB, free: 6.82 MB / 1.092 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.004563/1.382, allocations: 2.768 MB / 1.41 GB, free: 4.797 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.382, allocations: 10.06 kB / 1.41 GB, free: 4.797 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/1.386, allocations: 0.5575 MB / 1.411 GB, free: 4.535 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/1.388, allocations: 1.632 MB / 1.412 GB, free: 3.395 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/1.388, allocations: 129.7 kB / 1.412 GB, free: 3.336 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/1.388, allocations: 171.3 kB / 1.413 GB, free: 3.281 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/1.392, allocations: 1.968 MB / 1.414 GB, free: 2.129 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/1.392, allocations: 4 kB / 1.414 GB, free: 2.125 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/1.392, allocations: 77.8 kB / 1.415 GB, free: 2.066 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/1.392, allocations: 40.16 kB / 1.415 GB, free: 2.066 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.395, allocations: 2.112 MB / 1.417 GB, free: 0.7852 MB / 1.092 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.00913/1.405, allocations: 6.173 MB / 1.423 GB, free: 10.27 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/1.408, allocations: 2.143 MB / 1.425 GB, free: 8.047 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/1.409, allocations: 0.7693 MB / 1.426 GB, free: 7.281 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/1.41, allocations: 437.6 kB / 1.426 GB, free: 6.777 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/1.412, allocations: 1.021 MB / 1.427 GB, free: 5.738 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.326e-06/1.412, allocations: 3.938 kB / 1.427 GB, free: 5.734 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006969/1.419, allocations: 2.981 MB / 1.43 GB, free: 2.641 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.419, allocations: 201.2 kB / 1.43 GB, free: 2.398 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/1.421, allocations: 1.808 MB / 1.432 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/1.421, allocations: 53.7 kB / 1.432 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006828/1.422, allocations: 0.839 MB / 1.433 GB, free: 15.67 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/1.423, allocations: 477 kB / 1.433 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/1.423, allocations: 262.7 kB / 1.433 GB, free: 14.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.423, allocations: 361.9 kB / 1.434 GB, free: 14.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/1.424, allocations: 0.5999 MB / 1.434 GB, free: 13.97 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/1.426, allocations: 0.8208 MB / 1.435 GB, free: 13.1 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/1.428, allocations: 1.353 MB / 1.436 GB, free: 11.74 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.428, allocations: 4 kB / 1.436 GB, free: 11.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004179/1.432, allocations: 1.834 MB / 1.438 GB, free: 9.875 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.432, allocations: 11.88 kB / 1.438 GB, free: 9.863 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.432, allocations: 4 kB / 1.438 GB, free: 9.859 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/1.433, allocations: 212.2 kB / 1.438 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/1.435, allocations: 339.5 kB / 1.439 GB, free: 9.305 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005996/1.441, allocations: 7.322 MB / 1.446 GB, free: 1.281 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.443, allocations: 172.2 kB / 1.446 GB, free: 1.113 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/1.443, allocations: 59.95 kB / 1.446 GB, free: 1.055 MB / 1.123 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.001022/1.444, allocations: 479.2 kB / 1.447 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004558/1.445, allocations: 181.8 kB / 1.447 GB, free: 404 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/1.449, allocations: 2.14 MB / 1.449 GB, free: 14.22 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.449, allocations: 16 kB / 1.449 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.449, allocations: 4 kB / 1.449 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.449, allocations: 7.969 kB / 1.449 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/1.456, allocations: 4.001 MB / 1.453 GB, free: 10.11 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.456, allocations: 4 kB / 1.453 GB, free: 10.11 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.457, allocations: 327.5 kB / 1.453 GB, free: 9.789 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008737/1.458, allocations: 204 kB / 1.453 GB, free: 9.574 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.458, allocations: 39.97 kB / 1.453 GB, free: 9.535 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005662/1.464, allocations: 7.371 MB / 1.461 GB, free: 1.457 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.464, allocations: 3.938 kB / 1.461 GB, free: 1.453 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004558/1.469, allocations: 2.008 MB / 1.463 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.47, allocations: 470.3 kB / 1.463 GB, free: 14.92 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/1.471, allocations: 31.94 kB / 1.463 GB, free: 14.89 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.472, allocations: 107.9 kB / 1.463 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/1.472, allocations: 109.2 kB / 1.463 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.472, allocations: 71.94 kB / 1.463 GB, free: 14.61 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001729/1.474, allocations: 1.289 MB / 1.465 GB, free: 13.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.2e-07/1.474, allocations: 0 / 1.465 GB, free: 13.32 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002194/1.476, allocations: 0.6936 MB / 1.465 GB, free: 12.63 MB / 1.154 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.001861/1.478, allocations: 0.7532 MB / 1.466 GB, free: 12.06 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003886/1.482, allocations: 2.113 MB / 1.468 GB, free: 9.883 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.482, allocations: 0.5625 kB / 1.468 GB, free: 9.883 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/1.484, allocations: 1.426 MB / 1.469 GB, free: 8.395 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.487, allocations: 0.5403 MB / 1.47 GB, free: 7.875 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/1.494, allocations: 3.822 MB / 1.474 GB, free: 4.016 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.495, allocations: 1.537 MB / 1.475 GB, free: 2.449 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001737/1.496, allocations: 0.4931 MB / 1.476 GB, free: 1.949 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/1.497, allocations: 175.4 kB / 1.476 GB, free: 1.777 MB / 1.154 GB Notification: Performance of SimCode: time 7.71e-07/1.497, allocations: 0 / 1.476 GB, free: 1.777 MB / 1.154 GB Notification: Performance of Templates: time 0.05678/1.554, allocations: 32.41 MB / 1.507 GB, free: 1.695 MB / 1.186 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