Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_CpLowRise,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_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_latest_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.001951/0.001951, allocations: 115.6 kB / 16.37 MB, free: 6.016 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.002172/0.002172, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.53 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3278, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7933/1.121, allocations: 168.3 MB / 1.191 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02151/1.143, allocations: 17.06 MB / 1.208 GB, free: 15.11 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/1.145, allocations: 32 kB / 1.208 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/1.147, allocations: 0.5444 MB / 1.208 GB, free: 14.63 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/1.153, allocations: 1.62 MB / 1.21 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/1.157, allocations: 1.326 MB / 1.211 GB, free: 12.38 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004025/1.161, allocations: 2.693 MB / 1.214 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00306/1.164, allocations: 1.891 MB / 1.216 GB, free: 9.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004173/1.168, allocations: 1.345 MB / 1.217 GB, free: 8.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/1.17, allocations: 0.9893 MB / 1.218 GB, free: 8.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003251/1.17, allocations: 209.5 kB / 1.218 GB, free: 8.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/1.173, allocations: 1.422 MB / 1.219 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005401/1.173, allocations: 0.5528 MB / 1.22 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/1.175, allocations: 1.045 MB / 1.221 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004343/1.179, allocations: 3.107 MB / 1.224 GB, free: 3.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.179, allocations: 0 / 1.224 GB, free: 3.383 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/1.179, allocations: 0 / 1.224 GB, free: 3.383 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.806e-05/1.179, allocations: 0 / 1.224 GB, free: 3.383 MB / 0.92 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.003757/1.183, allocations: 2.28 MB / 1.226 GB, free: 1.039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/1.183, allocations: 16.03 kB / 1.226 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/1.186, allocations: 0.5089 MB / 1.227 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/1.188, allocations: 1.117 MB / 1.228 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.188, allocations: 139.4 kB / 1.228 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/1.189, allocations: 160 kB / 1.228 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/1.192, allocations: 1.843 MB / 1.23 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/1.192, allocations: 0 / 1.23 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/1.192, allocations: 72 kB / 1.23 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/1.192, allocations: 44 kB / 1.23 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00331/1.195, allocations: 1.875 MB / 1.232 GB, free: 11.17 MB / 0.9356 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.008438/1.204, allocations: 5.503 MB / 1.237 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/1.207, allocations: 1.765 MB / 1.239 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/1.208, allocations: 0.6519 MB / 1.24 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009489/1.209, allocations: 0.8038 MB / 1.24 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/1.211, allocations: 0.8972 MB / 1.241 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 2.796e-06/1.211, allocations: 0 / 1.241 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006075/1.217, allocations: 2.552 MB / 1.244 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.217, allocations: 201.2 kB / 1.244 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/1.218, allocations: 0.8383 MB / 1.245 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/1.218, allocations: 57.64 kB / 1.245 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/1.219, allocations: 0.6369 MB / 1.246 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003986/1.219, allocations: 484.8 kB / 1.246 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/1.22, allocations: 254.8 kB / 1.246 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.22, allocations: 353.9 kB / 1.247 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/1.221, allocations: 0.4905 MB / 1.247 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/1.222, allocations: 0.6385 MB / 1.248 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/1.224, allocations: 1.122 MB / 1.249 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.224, allocations: 0 / 1.249 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003504/1.228, allocations: 1.558 MB / 1.25 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.228, allocations: 8 kB / 1.25 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.228, allocations: 0 / 1.25 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009283/1.229, allocations: 188.3 kB / 1.25 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.23, allocations: 343.5 kB / 1.251 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00605/1.236, allocations: 7.277 MB / 1.258 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.238, allocations: 160.5 kB / 1.258 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.238, allocations: 55.95 kB / 1.258 GB, free: 14.77 MB / 0.9669 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.000824/1.239, allocations: 379.2 kB / 1.258 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/1.239, allocations: 134.4 kB / 1.259 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/1.243, allocations: 1.839 MB / 1.26 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.243, allocations: 19.98 kB / 1.26 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.243, allocations: 4 kB / 1.26 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.243, allocations: 7.969 kB / 1.26 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006194/1.249, allocations: 3.448 MB / 1.264 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.249, allocations: 0 / 1.264 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.251, allocations: 315.5 kB / 1.264 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007374/1.251, allocations: 176.1 kB / 1.264 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/1.252, allocations: 39.97 kB / 1.264 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007268/1.259, allocations: 7.323 MB / 1.271 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.259, allocations: 0 / 1.271 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005619/1.264, allocations: 1.705 MB / 1.273 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.266, allocations: 403 kB / 1.274 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/1.266, allocations: 35.92 kB / 1.274 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.268, allocations: 97.41 kB / 1.274 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/1.268, allocations: 117.1 kB / 1.274 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.268, allocations: 67.95 kB / 1.274 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001166/1.269, allocations: 0.5784 MB / 1.274 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/1.269, allocations: 3.938 kB / 1.274 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00212/1.271, allocations: 0.6 MB / 1.275 GB, free: 12.61 MB / 0.9825 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.002329/1.274, allocations: 0.7257 MB / 1.276 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004604/1.278, allocations: 1.871 MB / 1.277 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.278, allocations: 4.562 kB / 1.278 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002754/1.281, allocations: 1.301 MB / 1.279 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.285, allocations: 0.5398 MB / 1.279 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/1.292, allocations: 2.748 MB / 1.282 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/1.294, allocations: 1.3 MB / 1.283 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002457/1.296, allocations: 434.3 kB / 1.284 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007061/1.297, allocations: 155.3 kB / 1.284 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of SimCode: time 1.332e-06/1.297, allocations: 0 / 1.284 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of Templates: time 0.06769/1.364, allocations: 27.7 MB / 1.311 GB, free: 8.18 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches