Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001361/0.001361, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001436/0.001436, allocations: 199.2 kB / 16.26 MB, free: 6.629 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.74/2.74, allocations: 437 MB / 0.71 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 71.89 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6564/0.6584, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2133/0.8718, allocations: 166.1 MB / 1.179 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02738/0.8992, allocations: 17.15 MB / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.9017, allocations: 27.81 kB / 1.196 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.9046, allocations: 497 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007395/0.9121, allocations: 1.637 MB / 1.198 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004561/0.9167, allocations: 1.29 MB / 1.199 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005406/0.9221, allocations: 2.855 MB / 1.202 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003739/0.9259, allocations: 1.96 MB / 1.204 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006733/0.9326, allocations: 1.414 MB / 1.205 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.9347, allocations: 1.152 MB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007066/0.9355, allocations: 220 kB / 1.207 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.9393, allocations: 1.56 MB / 1.208 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.9404, allocations: 0.7946 MB / 1.209 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.9425, allocations: 1.224 MB / 1.21 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006109/0.9486, allocations: 3.583 MB / 1.214 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9487, allocations: 0 / 1.214 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9487, allocations: 4 kB / 1.214 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001234/0.9488, allocations: 0 / 1.214 GB, free: 8.504 MB / 0.9669 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.00622/0.955, allocations: 2.752 MB / 1.216 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.9551, allocations: 8.031 kB / 1.216 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/0.959, allocations: 0.559 MB / 1.217 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.9622, allocations: 1.588 MB / 1.218 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.9624, allocations: 139.3 kB / 1.218 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/0.9628, allocations: 164 kB / 1.219 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/0.9672, allocations: 1.944 MB / 1.221 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.9673, allocations: 0 / 1.221 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.9675, allocations: 76 kB / 1.221 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.9676, allocations: 40 kB / 1.221 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004238/0.9718, allocations: 2.089 MB / 1.223 GB, free: 14.97 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.01254/0.9844, allocations: 6.063 MB / 1.229 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/0.989, allocations: 2.095 MB / 1.231 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.9908, allocations: 0.7569 MB / 1.231 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009472/0.9918, allocations: 437.6 kB / 1.232 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002634/0.9944, allocations: 1.013 MB / 1.233 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 5.661e-06/0.9945, allocations: 0 / 1.233 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007868/1.002, allocations: 2.946 MB / 1.236 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/1.003, allocations: 205.2 kB / 1.236 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/1.006, allocations: 1.784 MB / 1.238 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003141/1.006, allocations: 57.7 kB / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009688/1.007, allocations: 0.8349 MB / 1.238 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006818/1.008, allocations: 484.9 kB / 1.239 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006019/1.008, allocations: 254.8 kB / 1.239 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.009, allocations: 357.9 kB / 1.24 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/1.01, allocations: 0.5921 MB / 1.24 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/1.012, allocations: 0.8077 MB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/1.014, allocations: 1.337 MB / 1.242 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/1.014, allocations: 4 kB / 1.242 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004546/1.019, allocations: 1.803 MB / 1.244 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.019, allocations: 7.938 kB / 1.244 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.019, allocations: 0 / 1.244 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.02, allocations: 216.2 kB / 1.244 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.022, allocations: 335.5 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6103/1.632, allocations: 7.315 MB / 1.252 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/1.634, allocations: 182.9 kB / 1.252 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/1.635, allocations: 55.5 kB / 1.252 GB, free: 229 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.001276/1.636, allocations: 486.7 kB / 1.252 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/1.637, allocations: 178.1 kB / 1.253 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/1.642, allocations: 2.129 MB / 1.255 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/1.642, allocations: 15.73 kB / 1.255 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.642, allocations: 3.375 kB / 1.255 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.642, allocations: 8.438 kB / 1.255 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/1.65, allocations: 3.978 MB / 1.258 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.65, allocations: 0.8125 kB / 1.258 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.652, allocations: 315.6 kB / 1.259 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/1.653, allocations: 203 kB / 1.259 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/1.653, allocations: 41.97 kB / 1.259 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005521/1.658, allocations: 7.356 MB / 1.266 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.659, allocations: 0.6562 kB / 1.266 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/1.664, allocations: 1.991 MB / 1.268 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.665, allocations: 469.5 kB / 1.269 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.666, allocations: 29.03 kB / 1.269 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.667, allocations: 135.3 kB / 1.269 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/1.667, allocations: 119.2 kB / 1.269 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.668, allocations: 76.48 kB / 1.269 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002078/1.67, allocations: 1.279 MB / 1.27 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.413e-06/1.67, allocations: 1.031 kB / 1.27 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002492/1.672, allocations: 0.6781 MB / 1.271 GB, free: 218.3 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.00234/1.675, allocations: 0.7541 MB / 1.272 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005496/1.68, allocations: 2.519 MB / 1.274 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.68, allocations: 1.781 kB / 1.274 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/1.682, allocations: 1.417 MB / 1.275 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/1.686, allocations: 0.539 MB / 1.276 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008932/1.695, allocations: 4.596 MB / 1.28 GB, free: 213.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/1.696, allocations: 1.526 MB / 1.282 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002564/1.699, allocations: 0.4968 MB / 1.282 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/1.699, allocations: 175.9 kB / 1.283 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/1.699, allocations: 0 / 1.283 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.0513/1.751, allocations: 31.73 MB / 1.314 GB, free: 186.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches