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.001092/0.001092, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001448/0.001448, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240 MB, free: 5.43 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.374/2.374, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003588, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6893, allocations: 142.4 MB / 0.9544 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.178/0.8673, allocations: 151.7 MB / 1.103 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02403/0.8914, allocations: 15.94 MB / 1.118 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.893, allocations: 27.81 kB / 1.118 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.8952, allocations: 381.3 kB / 1.119 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006567/0.9018, allocations: 1.315 MB / 1.12 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.906, allocations: 1.11 MB / 1.121 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003662/0.9096, allocations: 2.555 MB / 1.123 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.9126, allocations: 1.507 MB / 1.125 GB, free: 488 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.9151, allocations: 0.996 MB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.9169, allocations: 0.8437 MB / 1.127 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004297/0.9173, allocations: 48 kB / 1.127 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.9202, allocations: 1.01 MB / 1.128 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008527/0.9211, allocations: 0.5839 MB / 1.128 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007607/0.9218, allocations: 396.5 kB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.9258, allocations: 2.529 MB / 1.131 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.9258, allocations: 0 / 1.131 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.127e-06/0.9258, allocations: 4 kB / 1.131 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001302/0.926, allocations: 3.938 kB / 1.131 GB, free: 10.05 MB / 0.8887 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.004939/0.9309, allocations: 2.285 MB / 1.133 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.931, allocations: 8.031 kB / 1.133 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.9347, allocations: 0.5707 MB / 1.134 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.9374, allocations: 1.538 MB / 1.135 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.9375, allocations: 127.4 kB / 1.136 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.9377, allocations: 172 kB / 1.136 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.9412, allocations: 1.933 MB / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.9412, allocations: 0 / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.9414, allocations: 72 kB / 1.138 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/0.9415, allocations: 40 kB / 1.138 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.945, allocations: 2.081 MB / 1.14 GB, free: 1.051 MB / 0.8887 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.009771/0.9547, allocations: 5.739 MB / 1.145 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.9581, allocations: 2.093 MB / 1.147 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.9593, allocations: 0.7608 MB / 1.148 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/0.9599, allocations: 429.6 kB / 1.149 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/0.9617, allocations: 0.9987 MB / 1.15 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.136e-06/0.9617, allocations: 0 / 1.15 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.006569/0.9682, allocations: 2.969 MB / 1.152 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.9684, allocations: 205.2 kB / 1.153 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.9709, allocations: 1.772 MB / 1.154 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.9711, allocations: 57.7 kB / 1.154 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007229/0.9718, allocations: 0.8311 MB / 1.155 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.9723, allocations: 488.9 kB / 1.156 GB, free: 108 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.9724, allocations: 27.94 kB / 1.156 GB, free: 80 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9726, allocations: 353.9 kB / 1.156 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.9736, allocations: 0.5921 MB / 1.157 GB, free: 15.13 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.9749, allocations: 0.7936 MB / 1.157 GB, free: 14.29 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.9761, allocations: 0.6623 MB / 1.158 GB, free: 13.63 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9761, allocations: 0 / 1.158 GB, free: 13.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003703/0.9798, allocations: 1.811 MB / 1.16 GB, free: 11.79 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.9799, allocations: 4 kB / 1.16 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.9799, allocations: 0 / 1.16 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.9809, allocations: 220.2 kB / 1.16 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.9824, allocations: 331.5 kB / 1.16 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00546/0.9879, allocations: 6.802 MB / 1.167 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.9895, allocations: 183.8 kB / 1.167 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.9896, allocations: 63.89 kB / 1.167 GB, free: 3.531 MB / 0.92 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001003/0.9906, allocations: 491.3 kB / 1.168 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/0.991, allocations: 177.8 kB / 1.168 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/0.9952, allocations: 2.132 MB / 1.17 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.9953, allocations: 23.95 kB / 1.17 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.9953, allocations: 4 kB / 1.17 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.9953, allocations: 7.969 kB / 1.17 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006372/1.002, allocations: 3.983 MB / 1.174 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.002, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.003, allocations: 311.6 kB / 1.174 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008823/1.004, allocations: 220.1 kB / 1.174 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/1.004, allocations: 43.95 kB / 1.174 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005186/1.009, allocations: 6.835 MB / 1.181 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.009, allocations: 0 / 1.181 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/1.013, allocations: 1.982 MB / 1.183 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009437/1.014, allocations: 486.3 kB / 1.184 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/1.014, allocations: 32 kB / 1.184 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.016, allocations: 145.6 kB / 1.184 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/1.016, allocations: 117.1 kB / 1.184 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.016, allocations: 67.95 kB / 1.184 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00169/1.018, allocations: 1.265 MB / 1.185 GB, free: 400 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.018, allocations: 0 / 1.185 GB, free: 400 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001827/1.02, allocations: 0.6586 MB / 1.186 GB, free: 15.73 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001763/1.021, allocations: 0.7555 MB / 1.186 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003618/1.025, allocations: 2.078 MB / 1.189 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.025, allocations: 4.562 kB / 1.189 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/1.027, allocations: 1.415 MB / 1.19 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/1.03, allocations: 495.1 kB / 1.19 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00814/1.038, allocations: 4.622 MB / 1.195 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.039, allocations: 1.535 MB / 1.196 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002171/1.041, allocations: 0.4928 MB / 1.197 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/1.042, allocations: 175.3 kB / 1.197 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of SimCode: time 1.082e-06/1.042, allocations: 0 / 1.197 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of Templates: time 0.05012/1.092, allocations: 28.68 MB / 1.225 GB, free: 7.789 MB / 0.9825 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 -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/jenkins/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