Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001018/0.001018, allocations: 98.88 kB / 16.02 MB, free: 76 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.001291/0.001291, allocations: 187.8 kB / 16.93 MB, free: 6.773 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.692/2.692, allocations: 443.2 MB / 0.7181 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 12.66 kB / 0.8801 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3173, allocations: 155.1 MB / 1.032 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1857/0.503, allocations: 163.9 MB / 1.192 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02268/0.5258, allocations: 17.14 MB / 1.208 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.5276, allocations: 27.81 kB / 1.208 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.5292, allocations: 485 kB / 1.209 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.5344, allocations: 1.597 MB / 1.21 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.538, allocations: 1.267 MB / 1.212 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004162/0.5422, allocations: 3.092 MB / 1.215 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.5448, allocations: 1.664 MB / 1.216 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005109/0.5499, allocations: 1.108 MB / 1.217 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.5516, allocations: 0.898 MB / 1.218 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.5518, allocations: 52 kB / 1.218 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.555, allocations: 1.505 MB / 1.22 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.5557, allocations: 0.5838 MB / 1.22 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.557, allocations: 1.011 MB / 1.221 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.5605, allocations: 2.595 MB / 1.224 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5605, allocations: 4 kB / 1.224 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5605, allocations: 0 / 1.224 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.61e-05/0.5606, allocations: 4 kB / 1.224 GB, free: 15.14 MB / 0.9825 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.004338/0.5649, allocations: 2.297 MB / 1.226 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.565, allocations: 12.03 kB / 1.226 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.5687, allocations: 0.5669 MB / 1.227 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.5714, allocations: 1.588 MB / 1.228 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5716, allocations: 131.4 kB / 1.228 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.5718, allocations: 167.9 kB / 1.229 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.5754, allocations: 1.956 MB / 1.23 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.5754, allocations: 0 / 1.23 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.5756, allocations: 76 kB / 1.231 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.5756, allocations: 40 kB / 1.231 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/0.5792, allocations: 2.097 MB / 1.233 GB, free: 6.035 MB / 0.9825 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.009952/0.5892, allocations: 6.106 MB / 1.239 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.5927, allocations: 2.105 MB / 1.241 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.5941, allocations: 0.753 MB / 1.241 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/0.5947, allocations: 433.6 kB / 1.242 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/0.5966, allocations: 1.017 MB / 1.243 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.226e-06/0.5966, allocations: 0 / 1.243 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006983/0.6036, allocations: 2.969 MB / 1.246 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.6037, allocations: 209.2 kB / 1.246 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.6063, allocations: 1.78 MB / 1.248 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.6065, allocations: 57.7 kB / 1.248 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008365/0.6074, allocations: 0.8388 MB / 1.248 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/0.6079, allocations: 481 kB / 1.249 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.608, allocations: 105.7 kB / 1.249 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6082, allocations: 357.9 kB / 1.249 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.6094, allocations: 0.596 MB / 1.25 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.6107, allocations: 0.8091 MB / 1.251 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/0.6131, allocations: 1.337 MB / 1.252 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6131, allocations: 4 kB / 1.252 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.6068/1.22, allocations: 1.809 MB / 1.254 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/1.22, allocations: 7.125 kB / 1.254 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.22, allocations: 2.906 kB / 1.254 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/1.221, allocations: 216 kB / 1.254 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.223, allocations: 335.1 kB / 1.254 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/1.227, allocations: 6.821 MB / 1.261 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/1.229, allocations: 188.8 kB / 1.261 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.229, allocations: 57.81 kB / 1.261 GB, free: 211.2 MB / 0.9981 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.001046/1.23, allocations: 495.7 kB / 1.262 GB, free: 211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/1.231, allocations: 177.8 kB / 1.262 GB, free: 211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/1.236, allocations: 2.132 MB / 1.264 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/1.236, allocations: 15.75 kB / 1.264 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/1.236, allocations: 5.969 kB / 1.264 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/1.236, allocations: 8.344 kB / 1.264 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008914/1.245, allocations: 3.989 MB / 1.268 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.245, allocations: 1.484 kB / 1.268 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.246, allocations: 322.4 kB / 1.268 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/1.247, allocations: 214.9 kB / 1.268 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/1.248, allocations: 44.22 kB / 1.268 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004779/1.252, allocations: 6.84 MB / 1.275 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.252, allocations: 0 / 1.275 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/1.258, allocations: 1.994 MB / 1.277 GB, free: 203 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.259, allocations: 489.2 kB / 1.278 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/1.259, allocations: 32.34 kB / 1.278 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.261, allocations: 140.3 kB / 1.278 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/1.261, allocations: 120.3 kB / 1.278 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/1.261, allocations: 69.16 kB / 1.278 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002313/1.264, allocations: 1.28 MB / 1.279 GB, free: 202.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.264, allocations: 0 / 1.279 GB, free: 202.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002754/1.267, allocations: 0.6875 MB / 1.28 GB, free: 202 MB / 0.9981 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.002067/1.269, allocations: 0.769 MB / 1.281 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003852/1.273, allocations: 2.086 MB / 1.283 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.273, allocations: 1.719 kB / 1.283 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/1.275, allocations: 1.421 MB / 1.284 GB, free: 200 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.278, allocations: 0.504 MB / 1.284 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/1.285, allocations: 4.498 MB / 1.289 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.286, allocations: 1.491 MB / 1.29 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009874/1.287, allocations: 193.3 kB / 1.291 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.352e-06/1.287, allocations: 0 / 1.291 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.0614/1.349, allocations: 66.65 MB / 1.356 GB, free: 136.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches