Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 112.6 kB / 16.37 MB, free: 6 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.001744/0.001744, allocations: 196 kB / 17.31 MB, free: 5.613 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.491/2.491, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 60.34 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3173, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7773/1.095, allocations: 176.2 MB / 1.199 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0224/1.117, allocations: 15.65 MB / 1.214 GB, free: 9.852 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/1.12, allocations: 32.34 kB / 1.214 GB, free: 9.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/1.122, allocations: 0.6052 MB / 1.215 GB, free: 9.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006296/1.129, allocations: 1.581 MB / 1.216 GB, free: 8.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00528/1.134, allocations: 1.682 MB / 1.218 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005641/1.14, allocations: 2.906 MB / 1.221 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00408/1.144, allocations: 1.843 MB / 1.222 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/1.149, allocations: 1.385 MB / 1.224 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/1.151, allocations: 1.046 MB / 1.225 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004752/1.151, allocations: 198.4 kB / 1.225 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/1.155, allocations: 1.337 MB / 1.226 GB, free: 1.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005963/1.156, allocations: 0.5763 MB / 1.227 GB, free: 436 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/1.157, allocations: 1.022 MB / 1.228 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004787/1.162, allocations: 3.01 MB / 1.231 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.162, allocations: 0 / 1.231 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/1.162, allocations: 0 / 1.231 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.582e-05/1.162, allocations: 0 / 1.231 GB, free: 12.38 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004174/1.166, allocations: 2.31 MB / 1.233 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.166, allocations: 8.031 kB / 1.233 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/1.17, allocations: 473 kB / 1.234 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/1.172, allocations: 1.136 MB / 1.235 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.783e-05/1.172, allocations: 119.2 kB / 1.235 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/1.172, allocations: 156 kB / 1.235 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/1.175, allocations: 1.792 MB / 1.237 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/1.175, allocations: 0 / 1.237 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1.175, allocations: 68 kB / 1.237 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/1.175, allocations: 44 kB / 1.237 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/1.178, allocations: 1.772 MB / 1.239 GB, free: 4.324 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.008977/1.187, allocations: 6.146 MB / 1.245 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/1.19, allocations: 1.559 MB / 1.246 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/1.191, allocations: 0.5582 MB / 1.247 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/1.192, allocations: 0.8906 MB / 1.247 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/1.193, allocations: 0.801 MB / 1.248 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=126): time 3.266e-06/1.193, allocations: 0 / 1.248 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126): time 0.004908/1.198, allocations: 1.894 MB / 1.25 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.199, allocations: 200.9 kB / 1.25 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/1.2, allocations: 0.9756 MB / 1.251 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.2, allocations: 53.7 kB / 1.251 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/1.201, allocations: 0.6566 MB / 1.252 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/1.201, allocations: 421.9 kB / 1.252 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/1.201, allocations: 234.8 kB / 1.253 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.202, allocations: 353.9 kB / 1.253 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008778/1.203, allocations: 442.4 kB / 1.253 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.204, allocations: 0.5942 MB / 1.254 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/1.205, allocations: 1.042 MB / 1.255 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.205, allocations: 0 / 1.255 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002908/1.208, allocations: 1.355 MB / 1.256 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.208, allocations: 6.031 kB / 1.256 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.208, allocations: 4 kB / 1.256 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/1.209, allocations: 80.94 kB / 1.256 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.21, allocations: 299.6 kB / 1.257 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.212, allocations: 1.656 MB / 1.258 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.214, allocations: 131 kB / 1.258 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.214, allocations: 59.91 kB / 1.258 GB, free: 14.99 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007706/1.215, allocations: 380.1 kB / 1.259 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/1.215, allocations: 138.5 kB / 1.259 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/1.218, allocations: 1.621 MB / 1.26 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/1.218, allocations: 12 kB / 1.261 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.218, allocations: 4 kB / 1.261 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/1.218, allocations: 7.984 kB / 1.261 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005525/1.224, allocations: 3.147 MB / 1.264 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.224, allocations: 0 / 1.264 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/1.225, allocations: 275.6 kB / 1.264 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/1.226, allocations: 72.72 kB / 1.264 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.924e-05/1.226, allocations: 43.97 kB / 1.264 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/1.228, allocations: 1.666 MB / 1.266 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.228, allocations: 0 / 1.266 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/1.232, allocations: 2.186 MB / 1.268 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009338/1.233, allocations: 399 kB / 1.268 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.233, allocations: 31.94 kB / 1.268 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.234, allocations: 81.62 kB / 1.268 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.234, allocations: 97.25 kB / 1.268 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.235, allocations: 59.95 kB / 1.268 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009565/1.236, allocations: 0.6839 MB / 1.269 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/1.236, allocations: 0 / 1.269 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001497/1.237, allocations: 0.557 MB / 1.27 GB, free: 3.27 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/1.239, allocations: 0.7168 MB / 1.27 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002617/1.241, allocations: 1.271 MB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.241, allocations: 0.875 kB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.243, allocations: 0.7635 MB / 1.272 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.245, allocations: 0.5758 MB / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/1.25, allocations: 2.845 MB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/1.251, allocations: 1.307 MB / 1.277 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001512/1.252, allocations: 434.8 kB / 1.277 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/1.253, allocations: 151.4 kB / 1.277 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of SimCode: time 4.137e-06/1.253, allocations: 0 / 1.277 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.04577/1.299, allocations: 26.87 MB / 1.304 GB, free: 0.7969 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches