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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001346/0.001346, 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.001484/0.001484, allocations: 193 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.7 MB / 0.7447 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 66.56 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3352, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1847/0.5199, allocations: 166.1 MB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.5421, allocations: 17.41 MB / 1.247 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.5438, allocations: 27.81 kB / 1.247 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.5455, allocations: 489 kB / 1.247 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.5505, allocations: 1.594 MB / 1.249 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6144/1.165, allocations: 1.269 MB / 1.25 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006201/1.171, allocations: 3.107 MB / 1.253 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/1.174, allocations: 1.804 MB / 1.255 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/1.179, allocations: 1.26 MB / 1.256 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/1.181, allocations: 1.093 MB / 1.257 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003301/1.181, allocations: 122.9 kB / 1.257 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/1.186, allocations: 1.581 MB / 1.259 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009971/1.187, allocations: 0.6937 MB / 1.259 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002001/1.189, allocations: 1.122 MB / 1.261 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005586/1.194, allocations: 3.515 MB / 1.264 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.194, allocations: 0 / 1.264 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/1.194, allocations: 0 / 1.264 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.093e-05/1.194, allocations: 3.75 kB / 1.264 GB, free: 6.152 MB / 0.9981 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.005616/1.2, allocations: 2.777 MB / 1.267 GB, free: 20.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.2, allocations: 11.31 kB / 1.267 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/1.204, allocations: 0.5549 MB / 1.267 GB, free: 20.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/1.207, allocations: 1.597 MB / 1.269 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/1.207, allocations: 131 kB / 1.269 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/1.207, allocations: 167.5 kB / 1.269 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004466/1.212, allocations: 1.958 MB / 1.271 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/1.212, allocations: 0.5312 kB / 1.271 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/1.212, allocations: 74.81 kB / 1.271 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/1.212, allocations: 45.2 kB / 1.271 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004854/1.217, allocations: 2.119 MB / 1.273 GB, free: 19.99 MB / 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.01125/1.228, allocations: 6.242 MB / 1.279 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/1.232, allocations: 2.126 MB / 1.281 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/1.233, allocations: 0.7716 MB / 1.282 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006494/1.234, allocations: 429.2 kB / 1.283 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/1.236, allocations: 1.021 MB / 1.284 GB, free: 16.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.236e-06/1.236, allocations: 0 / 1.284 GB, free: 16.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007629/1.243, allocations: 2.992 MB / 1.286 GB, free: 16.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.243, allocations: 199.5 kB / 1.287 GB, free: 15.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/1.246, allocations: 1.803 MB / 1.288 GB, free: 15.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/1.247, allocations: 57.77 kB / 1.288 GB, free: 15.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/1.247, allocations: 0.8463 MB / 1.289 GB, free: 15.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/1.248, allocations: 482.8 kB / 1.29 GB, free: 15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004438/1.248, allocations: 256.8 kB / 1.29 GB, free: 14.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.248, allocations: 354.1 kB / 1.29 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/1.25, allocations: 0.6055 MB / 1.291 GB, free: 14.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/1.251, allocations: 0.8105 MB / 1.292 GB, free: 14.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/1.254, allocations: 1.358 MB / 1.293 GB, free: 14.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.254, allocations: 0 / 1.293 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004237/1.258, allocations: 1.837 MB / 1.295 GB, free: 14.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.258, allocations: 11.38 kB / 1.295 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.258, allocations: 1.281 kB / 1.295 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.259, allocations: 202.8 kB / 1.295 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/1.261, allocations: 347.2 kB / 1.295 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/1.266, allocations: 6.838 MB / 1.302 GB, free: 7.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.269, allocations: 184.2 kB / 1.302 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/1.269, allocations: 55.81 kB / 1.302 GB, free: 7.785 MB / 1.014 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.001359/1.27, allocations: 489.1 kB / 1.303 GB, free: 7.668 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006009/1.271, allocations: 190 kB / 1.303 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/1.275, allocations: 2.143 MB / 1.305 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.275, allocations: 14.5 kB / 1.305 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.275, allocations: 1.594 kB / 1.305 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/1.275, allocations: 6.422 kB / 1.305 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007493/1.283, allocations: 4.011 MB / 1.309 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.283, allocations: 0 / 1.309 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.285, allocations: 321.1 kB / 1.309 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009158/1.285, allocations: 205.1 kB / 1.309 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.286, allocations: 45.42 kB / 1.31 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005419/1.291, allocations: 6.842 MB / 1.316 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.291, allocations: 3.938 kB / 1.316 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/1.295, allocations: 2.004 MB / 1.318 GB, free: 208 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.296, allocations: 474 kB / 1.319 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/1.297, allocations: 31.81 kB / 1.319 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.298, allocations: 135.1 kB / 1.319 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/1.298, allocations: 111.4 kB / 1.319 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.298, allocations: 71.33 kB / 1.319 GB, free: 15.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001776/1.3, allocations: 1.297 MB / 1.32 GB, free: 15.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/1.3, allocations: 0 / 1.32 GB, free: 15.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002206/1.302, allocations: 0.6842 MB / 1.321 GB, free: 15.77 MB / 1.029 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.001896/1.304, allocations: 0.7632 MB / 1.322 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00368/1.308, allocations: 2.108 MB / 1.324 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.308, allocations: 3.875 kB / 1.324 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/1.31, allocations: 1.42 MB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.313, allocations: 0.5087 MB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/1.32, allocations: 4.71 MB / 1.33 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.321, allocations: 1.536 MB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002109/1.324, allocations: 0.4972 MB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/1.324, allocations: 177.3 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/1.324, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of Templates: time 0.05346/1.378, allocations: 30.85 MB / 1.362 GB, free: 12.75 MB / 1.045 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