Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001538/0.001538, allocations: 198 kB / 17.3 MB, free: 5.883 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 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.082/2.082, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 65.58 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2593, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.7024/0.9617, allocations: 167.2 MB / 1.114 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.9805, allocations: 17.19 MB / 1.131 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.9821, allocations: 32.09 kB / 1.131 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.9835, allocations: 0.5251 MB / 1.132 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004441/0.988, allocations: 1.678 MB / 1.133 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.9915, allocations: 1.428 MB / 1.135 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.9945, allocations: 2.658 MB / 1.137 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.9968, allocations: 1.997 MB / 1.139 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/1.001, allocations: 1.395 MB / 1.141 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/1.002, allocations: 1.08 MB / 1.142 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003325/1.002, allocations: 224.8 kB / 1.142 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/1.005, allocations: 1.556 MB / 1.143 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005928/1.006, allocations: 0.7931 MB / 1.144 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/1.007, allocations: 1.176 MB / 1.145 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00423/1.011, allocations: 3.519 MB / 1.149 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.011, allocations: 0 / 1.149 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.583e-06/1.011, allocations: 0 / 1.149 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.121e-05/1.011, allocations: 0 / 1.149 GB, free: 16.54 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00476/1.016, allocations: 2.723 MB / 1.151 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.016, allocations: 9 kB / 1.151 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/1.02, allocations: 0.5616 MB / 1.152 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/1.023, allocations: 1.62 MB / 1.154 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/1.023, allocations: 129.8 kB / 1.154 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/1.023, allocations: 172 kB / 1.154 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/1.027, allocations: 1.944 MB / 1.156 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/1.027, allocations: 7.875 kB / 1.156 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/1.027, allocations: 74.28 kB / 1.156 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/1.027, allocations: 43.62 kB / 1.156 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/1.031, allocations: 2.089 MB / 1.158 GB, free: 12.36 MB / 0.8731 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.01056/1.042, allocations: 5.64 MB / 1.163 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/1.045, allocations: 2.086 MB / 1.165 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/1.046, allocations: 0.7662 MB / 1.166 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/1.047, allocations: 432.3 kB / 1.167 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/1.049, allocations: 1.009 MB / 1.168 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.155e-06/1.049, allocations: 0 / 1.168 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006572/1.055, allocations: 2.946 MB / 1.17 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.055, allocations: 196.8 kB / 1.171 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/1.058, allocations: 1.789 MB / 1.172 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/1.058, allocations: 67.23 kB / 1.172 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/1.059, allocations: 0.8253 MB / 1.173 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/1.059, allocations: 486.8 kB / 1.174 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004075/1.059, allocations: 262.6 kB / 1.174 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.06, allocations: 356.2 kB / 1.174 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/1.061, allocations: 0.5933 MB / 1.175 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/1.062, allocations: 0.7959 MB / 1.176 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/1.064, allocations: 1.337 MB / 1.177 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.064, allocations: 0 / 1.177 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003873/1.068, allocations: 1.8 MB / 1.179 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.068, allocations: 7.656 kB / 1.179 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.068, allocations: 3.938 kB / 1.179 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.069, allocations: 221.4 kB / 1.179 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/1.071, allocations: 328.3 kB / 1.179 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006147/1.077, allocations: 7.314 MB / 1.186 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/1.079, allocations: 170.1 kB / 1.187 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/1.079, allocations: 59.08 kB / 1.187 GB, free: 8.156 MB / 0.8887 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 (152): * Single equations (assignments): 147 * 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.001036/1.08, allocations: 489.3 kB / 1.187 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/1.08, allocations: 174.7 kB / 1.187 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/1.085, allocations: 2.118 MB / 1.189 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.085, allocations: 19.03 kB / 1.189 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.085, allocations: 2.875 kB / 1.189 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.085, allocations: 7.969 kB / 1.189 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006818/1.092, allocations: 3.986 MB / 1.193 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.092, allocations: 0 / 1.193 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.093, allocations: 318.2 kB / 1.194 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/1.094, allocations: 211.1 kB / 1.194 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.094, allocations: 42.14 kB / 1.194 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006004/1.1, allocations: 7.355 MB / 1.201 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.1, allocations: 0 / 1.201 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/1.104, allocations: 1.987 MB / 1.203 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.106, allocations: 471.6 kB / 1.203 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/1.106, allocations: 31.98 kB / 1.203 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.107, allocations: 97.62 kB / 1.204 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.108, allocations: 117.2 kB / 1.204 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.108, allocations: 71.16 kB / 1.204 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001759/1.11, allocations: 1.279 MB / 1.205 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 0 / 1.205 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002133/1.112, allocations: 0.6572 MB / 1.206 GB, free: 10.08 MB / 0.9044 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.001769/1.113, allocations: 0.7576 MB / 1.206 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003473/1.117, allocations: 2.086 MB / 1.208 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.117, allocations: 2.375 kB / 1.208 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/1.119, allocations: 1.413 MB / 1.21 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.121, allocations: 0.5216 MB / 1.21 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/1.128, allocations: 3.808 MB / 1.214 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.13, allocations: 1.537 MB / 1.215 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00176/1.131, allocations: 0.4967 MB / 1.216 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/1.132, allocations: 171.4 kB / 1.216 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of SimCode: time 7.51e-07/1.132, allocations: 0 / 1.216 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of Templates: time 0.04946/1.181, allocations: 30.98 MB / 1.246 GB, free: 4.184 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches