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.001432/0.001432, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 196 kB / 16.79 MB, free: 6.809 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.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.386/2.386, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 59.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7586, allocations: 140.4 MB / 0.9496 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1837/0.9424, allocations: 164.9 MB / 1.111 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.9646, allocations: 17.26 MB / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.9666, allocations: 23.88 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.9685, allocations: 465.1 kB / 1.128 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.9738, allocations: 1.506 MB / 1.129 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.9775, allocations: 1.26 MB / 1.131 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.9814, allocations: 2.911 MB / 1.133 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.9842, allocations: 1.864 MB / 1.135 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005355/0.9896, allocations: 1.221 MB / 1.136 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.9913, allocations: 1.077 MB / 1.138 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006337/0.992, allocations: 120 kB / 1.138 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.9958, allocations: 1.567 MB / 1.139 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.997, allocations: 0.7007 MB / 1.14 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.9992, allocations: 1.084 MB / 1.141 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/1.004, allocations: 2.616 MB / 1.143 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.004, allocations: 7.938 kB / 1.144 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.954e-06/1.004, allocations: 0 / 1.144 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001301/1.004, allocations: 3.938 kB / 1.144 GB, free: 10.91 MB / 0.9044 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.006957/1.011, allocations: 2.739 MB / 1.146 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.011, allocations: 8.031 kB / 1.146 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004143/1.015, allocations: 0.5551 MB / 1.147 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/1.018, allocations: 1.592 MB / 1.148 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/1.019, allocations: 135.4 kB / 1.148 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/1.019, allocations: 172 kB / 1.149 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/1.023, allocations: 1.956 MB / 1.15 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/1.023, allocations: 4 kB / 1.15 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/1.023, allocations: 75.94 kB / 1.151 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/1.023, allocations: 40 kB / 1.151 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003841/1.027, allocations: 2.117 MB / 1.153 GB, free: 1.348 MB / 0.9044 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.01063/1.038, allocations: 5.849 MB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/1.042, allocations: 2.144 MB / 1.16 GB, free: 9.012 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/1.043, allocations: 0.7725 MB / 1.161 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/1.044, allocations: 433.6 kB / 1.162 GB, free: 7.742 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/1.046, allocations: 1.021 MB / 1.163 GB, free: 6.703 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.967e-06/1.046, allocations: 0 / 1.163 GB, free: 6.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006939/1.053, allocations: 2.973 MB / 1.166 GB, free: 3.613 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.053, allocations: 205.2 kB / 1.166 GB, free: 3.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/1.055, allocations: 1.805 MB / 1.168 GB, free: 1.555 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002504/1.056, allocations: 61.7 kB / 1.168 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007598/1.057, allocations: 0.8312 MB / 1.168 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/1.057, allocations: 485 kB / 1.169 GB, free: 168 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004627/1.057, allocations: 258.7 kB / 1.169 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.058, allocations: 361.9 kB / 1.169 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/1.059, allocations: 0.6038 MB / 1.17 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/1.06, allocations: 0.813 MB / 1.171 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/1.063, allocations: 1.353 MB / 1.172 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/1.063, allocations: 0 / 1.172 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004235/1.067, allocations: 1.838 MB / 1.174 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.067, allocations: 7.938 kB / 1.174 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.067, allocations: 4 kB / 1.174 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/1.068, allocations: 212.1 kB / 1.174 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.07, allocations: 339.5 kB / 1.174 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005782/1.076, allocations: 6.808 MB / 1.181 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/1.078, allocations: 178.8 kB / 1.181 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/1.078, allocations: 55.97 kB / 1.181 GB, free: 2.578 MB / 0.9356 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.001185/1.079, allocations: 495.1 kB / 1.182 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000615/1.08, allocations: 177.8 kB / 1.182 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/1.084, allocations: 2.156 MB / 1.184 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/1.084, allocations: 12 kB / 1.184 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.084, allocations: 7.938 kB / 1.184 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.084, allocations: 7.969 kB / 1.184 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/1.092, allocations: 4.008 MB / 1.188 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.092, allocations: 0 / 1.188 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.093, allocations: 315.6 kB / 1.188 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009524/1.094, allocations: 212.1 kB / 1.189 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.094, allocations: 43.91 kB / 1.189 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005496/1.1, allocations: 6.85 MB / 1.195 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.1, allocations: 4.031 kB / 1.195 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/1.104, allocations: 2.002 MB / 1.197 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009725/1.105, allocations: 482.2 kB / 1.198 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/1.106, allocations: 31.88 kB / 1.198 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.107, allocations: 124.6 kB / 1.198 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/1.107, allocations: 113.1 kB / 1.198 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.107, allocations: 71.95 kB / 1.198 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001689/1.109, allocations: 1.293 MB / 1.199 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.109, allocations: 7.938 kB / 1.199 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001937/1.111, allocations: 0.6663 MB / 1.2 GB, free: 14.69 MB / 0.9669 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.001881/1.113, allocations: 0.7524 MB / 1.201 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003767/1.117, allocations: 2.098 MB / 1.203 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.117, allocations: 8.547 kB / 1.203 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.119, allocations: 1.426 MB / 1.204 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.122, allocations: 0.4917 MB / 1.205 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/1.13, allocations: 4.71 MB / 1.209 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.131, allocations: 1.498 MB / 1.211 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008511/1.132, allocations: 191.3 kB / 1.211 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of SimCode: time 7.41e-07/1.132, allocations: 0 / 1.211 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of Templates: time 0.5509/1.683, allocations: 66.94 MB / 1.276 GB, free: 265.3 MB / 0.9981 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/jenkins1/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