Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, 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.001337/0.001337, allocations: 198.2 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.7106 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 59.91 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.807, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1772/0.9842, allocations: 166 MB / 1.179 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02322/1.007, allocations: 17.11 MB / 1.196 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/1.009, allocations: 27.81 kB / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/1.011, allocations: 469.1 kB / 1.197 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004843/1.016, allocations: 1.439 MB / 1.198 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003589/1.02, allocations: 1.181 MB / 1.199 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003813/1.024, allocations: 2.859 MB / 1.202 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/1.027, allocations: 1.74 MB / 1.204 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/1.032, allocations: 1.184 MB / 1.205 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/1.034, allocations: 0.9606 MB / 1.206 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005733/1.034, allocations: 112 kB / 1.206 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/1.038, allocations: 1.462 MB / 1.207 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007702/1.038, allocations: 466.3 kB / 1.208 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/1.04, allocations: 0.9521 MB / 1.209 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/1.043, allocations: 2.296 MB / 1.211 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.043, allocations: 0 / 1.211 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/1.043, allocations: 0 / 1.211 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.003e-05/1.043, allocations: 0 / 1.211 GB, free: 11.85 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005395/1.049, allocations: 2.289 MB / 1.213 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.049, allocations: 8.031 kB / 1.213 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/1.053, allocations: 0.5089 MB / 1.214 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/1.055, allocations: 1.078 MB / 1.215 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.055, allocations: 131.4 kB / 1.215 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/1.055, allocations: 164 kB / 1.215 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/1.058, allocations: 1.843 MB / 1.217 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/1.059, allocations: 0 / 1.217 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.059, allocations: 72 kB / 1.217 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/1.059, allocations: 44 kB / 1.217 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/1.062, allocations: 1.875 MB / 1.219 GB, free: 3.684 MB / 0.9669 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.008763/1.071, allocations: 5.546 MB / 1.224 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/1.074, allocations: 1.766 MB / 1.226 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/1.075, allocations: 0.6592 MB / 1.226 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009008/1.076, allocations: 0.8078 MB / 1.227 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/1.078, allocations: 0.888 MB / 1.228 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.387e-06/1.078, allocations: 0 / 1.228 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006318/1.084, allocations: 2.556 MB / 1.231 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.084, allocations: 205.2 kB / 1.231 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.085, allocations: 0.8383 MB / 1.232 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/1.086, allocations: 57.7 kB / 1.232 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/1.086, allocations: 0.6291 MB / 1.232 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/1.087, allocations: 488.8 kB / 1.233 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/1.087, allocations: 254.8 kB / 1.233 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.087, allocations: 353.9 kB / 1.233 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.088, allocations: 0.4944 MB / 1.234 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/1.089, allocations: 0.6423 MB / 1.234 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/1.092, allocations: 1.118 MB / 1.236 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.092, allocations: 4 kB / 1.236 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00358/1.095, allocations: 1.554 MB / 1.237 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.095, allocations: 4 kB / 1.237 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.095, allocations: 4 kB / 1.237 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009528/1.096, allocations: 184.2 kB / 1.237 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/1.098, allocations: 339.5 kB / 1.238 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/1.104, allocations: 6.78 MB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.105, allocations: 174.7 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/1.105, allocations: 59.95 kB / 1.244 GB, free: 7.746 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 (156): * Single equations (assignments): 151 * 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.0008374/1.106, allocations: 371.3 kB / 1.245 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/1.107, allocations: 130.5 kB / 1.245 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/1.111, allocations: 1.854 MB / 1.247 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.111, allocations: 16 kB / 1.247 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.111, allocations: 0 / 1.247 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/1.111, allocations: 7.969 kB / 1.247 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006388/1.117, allocations: 3.427 MB / 1.25 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.117, allocations: 8 kB / 1.25 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.119, allocations: 323.5 kB / 1.25 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008399/1.12, allocations: 188.1 kB / 1.251 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.12, allocations: 43.97 kB / 1.251 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6053/1.725, allocations: 6.783 MB / 1.257 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.725, allocations: 1.281 kB / 1.257 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/1.73, allocations: 1.712 MB / 1.259 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008906/1.73, allocations: 401.6 kB / 1.259 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/1.731, allocations: 30.64 kB / 1.259 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.732, allocations: 138.3 kB / 1.259 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.732, allocations: 113.2 kB / 1.26 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.733, allocations: 68.88 kB / 1.26 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000957/1.734, allocations: 0.577 MB / 1.26 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.734, allocations: 0.75 kB / 1.26 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002099/1.736, allocations: 0.6046 MB / 1.261 GB, free: 224.1 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.001863/1.738, allocations: 0.7395 MB / 1.261 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003769/1.741, allocations: 1.859 MB / 1.263 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.741, allocations: 3.625 kB / 1.263 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/1.744, allocations: 1.306 MB / 1.265 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/1.746, allocations: 497.5 kB / 1.265 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006834/1.753, allocations: 3.613 MB / 1.269 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/1.755, allocations: 1.298 MB / 1.27 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008967/1.756, allocations: 172.1 kB / 1.27 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.756, allocations: 0 / 1.27 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.05771/1.813, allocations: 57.58 MB / 1.326 GB, free: 174.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches