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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007042/0.007042, allocations: 103.8 kB / 15.73 MB, free: 6.008 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.001486/0.001486, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.89 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8589, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2041/1.063, allocations: 167.2 MB / 1.251 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02405/1.087, allocations: 17.21 MB / 1.268 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/1.089, allocations: 31.81 kB / 1.268 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/1.091, allocations: 0.5274 MB / 1.269 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005405/1.096, allocations: 1.683 MB / 1.27 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/1.1, allocations: 1.429 MB / 1.272 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003282/1.103, allocations: 2.689 MB / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/1.106, allocations: 1.994 MB / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/1.11, allocations: 1.401 MB / 1.278 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/1.111, allocations: 1.085 MB / 1.279 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005636/1.112, allocations: 224 kB / 1.279 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/1.115, allocations: 1.556 MB / 1.28 GB, free: 8.648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008889/1.116, allocations: 0.7946 MB / 1.281 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/1.118, allocations: 1.181 MB / 1.282 GB, free: 6.664 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004752/1.123, allocations: 3.54 MB / 1.286 GB, free: 3.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.123, allocations: 0 / 1.286 GB, free: 3.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/1.123, allocations: 0 / 1.286 GB, free: 3.113 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.222e-05/1.123, allocations: 0 / 1.286 GB, free: 3.113 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.005311/1.128, allocations: 2.739 MB / 1.288 GB, free: 320 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/1.128, allocations: 12.02 kB / 1.288 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/1.132, allocations: 0.5551 MB / 1.289 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/1.134, allocations: 1.631 MB / 1.291 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.134, allocations: 131.4 kB / 1.291 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/1.135, allocations: 168 kB / 1.291 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/1.138, allocations: 1.957 MB / 1.293 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/1.138, allocations: 0 / 1.293 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/1.138, allocations: 76 kB / 1.293 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/1.138, allocations: 40 kB / 1.293 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/1.142, allocations: 2.117 MB / 1.295 GB, free: 9.523 MB / 1.029 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.008888/1.151, allocations: 5.821 MB / 1.301 GB, free: 3.445 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/1.154, allocations: 2.133 MB / 1.303 GB, free: 1.227 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/1.156, allocations: 0.7728 MB / 1.303 GB, free: 460 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005855/1.156, allocations: 437.5 kB / 1.304 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/1.158, allocations: 1.009 MB / 1.305 GB, free: 14.92 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 2.855e-06/1.158, allocations: 0 / 1.305 GB, free: 14.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006808/1.165, allocations: 2.981 MB / 1.308 GB, free: 11.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.165, allocations: 205.2 kB / 1.308 GB, free: 11.58 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/1.167, allocations: 1.801 MB / 1.31 GB, free: 9.766 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/1.168, allocations: 57.7 kB / 1.31 GB, free: 9.703 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/1.168, allocations: 0.8467 MB / 1.311 GB, free: 8.844 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/1.169, allocations: 477 kB / 1.311 GB, free: 8.371 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/1.169, allocations: 258.8 kB / 1.311 GB, free: 8.113 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.169, allocations: 357.9 kB / 1.312 GB, free: 7.758 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/1.17, allocations: 0.6077 MB / 1.312 GB, free: 7.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.172, allocations: 0.8131 MB / 1.313 GB, free: 6.285 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/1.174, allocations: 1.353 MB / 1.314 GB, free: 4.922 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.174, allocations: 0 / 1.314 GB, free: 4.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004082/1.178, allocations: 1.834 MB / 1.316 GB, free: 3.062 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.178, allocations: 16 kB / 1.316 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.178, allocations: 0 / 1.316 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/1.179, allocations: 208 kB / 1.316 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.181, allocations: 339.6 kB / 1.317 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/1.187, allocations: 7.319 MB / 1.324 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.189, allocations: 169.2 kB / 1.324 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.189, allocations: 59.95 kB / 1.324 GB, free: 10.25 MB / 1.061 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.0009315/1.19, allocations: 499.2 kB / 1.325 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/1.19, allocations: 177.8 kB / 1.325 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/1.194, allocations: 2.14 MB / 1.327 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.194, allocations: 16 kB / 1.327 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.194, allocations: 4 kB / 1.327 GB, free: 7.387 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/1.194, allocations: 7.969 kB / 1.327 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/1.201, allocations: 3.994 MB / 1.331 GB, free: 3.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.201, allocations: 7.938 kB / 1.331 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.202, allocations: 319.5 kB / 1.331 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008471/1.203, allocations: 200.1 kB / 1.331 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.203, allocations: 39.97 kB / 1.331 GB, free: 2.734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005471/1.209, allocations: 7.366 MB / 1.338 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.209, allocations: 3.938 kB / 1.338 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/1.213, allocations: 2.004 MB / 1.34 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008594/1.214, allocations: 478.2 kB / 1.341 GB, free: 8.129 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/1.214, allocations: 35.94 kB / 1.341 GB, free: 8.094 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.216, allocations: 106.5 kB / 1.341 GB, free: 7.992 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.216, allocations: 113.3 kB / 1.341 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.216, allocations: 75.94 kB / 1.341 GB, free: 7.809 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001592/1.218, allocations: 1.293 MB / 1.342 GB, free: 6.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.218, allocations: 0 / 1.342 GB, free: 6.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001633/1.219, allocations: 0.6626 MB / 1.343 GB, free: 5.855 MB / 1.076 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.001701/1.221, allocations: 0.7436 MB / 1.344 GB, free: 5.293 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003553/1.225, allocations: 2.106 MB / 1.346 GB, free: 3.121 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.225, allocations: 8.547 kB / 1.346 GB, free: 3.113 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002015/1.227, allocations: 1.43 MB / 1.347 GB, free: 1.621 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.229, allocations: 0.5327 MB / 1.348 GB, free: 1.109 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/1.238, allocations: 3.94 MB / 1.352 GB, free: 13.13 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.239, allocations: 1.529 MB / 1.353 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00201/1.241, allocations: 496.7 kB / 1.354 GB, free: 11.08 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004845/1.242, allocations: 179.3 kB / 1.354 GB, free: 10.91 MB / 1.092 GB Notification: Performance of SimCode: time 1.182e-06/1.242, allocations: 0 / 1.354 GB, free: 10.91 MB / 1.092 GB Notification: Performance of Templates: time 0.05301/1.295, allocations: 31.27 MB / 1.384 GB, free: 11.98 MB / 1.123 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