Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9243/0.9243, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.863/1.863, allocations: 377.9 MB / 0.624 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0.9844 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.43e-05, allocations: 3.625 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1504/0.1505, allocations: 148.6 MB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1646, allocations: 13.36 MB / 0.9702 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.1663, allocations: 43.62 kB / 0.9702 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1675, allocations: 412.4 kB / 0.9706 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.1708, allocations: 1.312 MB / 0.9719 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.1737, allocations: 1.48 MB / 0.9733 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003324/0.177, allocations: 2.995 MB / 0.9762 GB, free: 8.723 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.1794, allocations: 1.533 MB / 0.9777 GB, free: 7.129 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004303/0.1837, allocations: 2.004 MB / 0.9797 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.185, allocations: 0.8334 MB / 0.9805 GB, free: 4.395 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.1854, allocations: 192 kB / 0.9807 GB, free: 4.207 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.1873, allocations: 0.8618 MB / 0.9815 GB, free: 3.344 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004748/0.1878, allocations: 0.588 MB / 0.9821 GB, free: 2.754 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0008895/0.1886, allocations: 0.7014 MB / 0.9828 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.1918, allocations: 2.149 MB / 0.9849 GB, free: 15.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1918, allocations: 4 kB / 0.9849 GB, free: 15.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1918, allocations: 0 / 0.9849 GB, free: 15.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.781e-05/0.1918, allocations: 0 / 0.9849 GB, free: 15.89 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.00293/0.1948, allocations: 2.395 MB / 0.9872 GB, free: 13.44 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1948, allocations: 8.031 kB / 0.9872 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.1968, allocations: 0.7041 MB / 0.9879 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.1982, allocations: 1.073 MB / 0.989 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.07e-05/0.1982, allocations: 135.2 kB / 0.9891 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.1984, allocations: 171.9 kB / 0.9893 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.2, allocations: 1.855 MB / 0.9911 GB, free: 9.199 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.2, allocations: 0 / 0.9911 GB, free: 9.199 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.2001, allocations: 72 kB / 0.9911 GB, free: 9.129 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.2001, allocations: 44 kB / 0.9912 GB, free: 9.086 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2013, allocations: 0.9614 MB / 0.9921 GB, free: 8.113 MB / 0.948 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.004708/0.206, allocations: 4.598 MB / 0.9966 GB, free: 3.402 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.2069, allocations: 0.7006 MB / 0.9973 GB, free: 2.699 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.2072, allocations: 274.4 kB / 0.9976 GB, free: 2.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.2075, allocations: 151.2 kB / 0.9977 GB, free: 2.285 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008584/0.2083, allocations: 1.017 MB / 0.9987 GB, free: 1.125 MB / 0.948 GB Notification: Performance of pre-optimization done (n=134): time 3.427e-06/0.2083, allocations: 4 kB / 0.9987 GB, free: 1.121 MB / 0.948 GB Notification: Performance of matching and sorting (n=134): time 0.001906/0.2102, allocations: 1.129 MB / 0.9998 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.2103, allocations: 205.2 kB / 1 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.2109, allocations: 0.8061 MB / 1.001 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.211, allocations: 57.7 kB / 1.001 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.2114, allocations: 0.7653 MB / 1.002 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.2117, allocations: 468 kB / 1.002 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.212, allocations: 277 kB / 1.002 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2121, allocations: 0.5354 MB / 1.003 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2123, allocations: 175.8 kB / 1.003 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.2128, allocations: 0.5848 MB / 1.004 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.2134, allocations: 0.6757 MB / 1.004 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2134, allocations: 0 / 1.004 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001273/0.2147, allocations: 0.9685 MB / 1.005 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2147, allocations: 8 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2147, allocations: 4 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004443/0.2152, allocations: 139.6 kB / 1.005 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009509/0.2161, allocations: 323.6 kB / 1.006 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.2174, allocations: 1.891 MB / 1.007 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.218, allocations: 127.3 kB / 1.008 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.2181, allocations: 51.95 kB / 1.008 GB, free: 7.512 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (169): * Single equations (assignments): 168 * 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.0004058/0.2185, allocations: 246.8 kB / 1.008 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.2187, allocations: 183.1 kB / 1.008 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.2201, allocations: 1.096 MB / 1.009 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2201, allocations: 20 kB / 1.009 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2201, allocations: 0 / 1.009 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.2202, allocations: 7.969 kB / 1.009 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.2228, allocations: 2.126 MB / 1.011 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2228, allocations: 0 / 1.011 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.2234, allocations: 267.7 kB / 1.011 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003464/0.2238, allocations: 119.5 kB / 1.012 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.2238, allocations: 39.97 kB / 1.012 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.225, allocations: 1.883 MB / 1.013 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.225, allocations: 0 / 1.013 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.2269, allocations: 1.323 MB / 1.015 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.2274, allocations: 294.7 kB / 1.015 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.2275, allocations: 39.91 kB / 1.015 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.228, allocations: 59.2 kB / 1.015 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.2281, allocations: 117 kB / 1.015 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-05/0.2282, allocations: 47.95 kB / 1.015 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004342/0.2286, allocations: 489.1 kB / 1.016 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2286, allocations: 0 / 1.016 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001312/0.23, allocations: 0.5805 MB / 1.016 GB, free: 14.38 MB / 0.9792 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001381/0.2313, allocations: 0.6879 MB / 1.017 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.2325, allocations: 0.867 MB / 1.018 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.2325, allocations: 4.5 kB / 1.018 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.233, allocations: 0.5737 MB / 1.018 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.2342, allocations: 0.5585 MB / 1.019 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.2378, allocations: 2.626 MB / 1.022 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.238, allocations: 316.9 kB / 1.022 GB, free: 8.832 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0008187/0.2388, allocations: 310.4 kB / 1.022 GB, free: 8.523 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000994/0.2398, allocations: 0.6071 MB / 1.023 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of SimCode: time 1.052e-06/0.2398, allocations: 0 / 1.023 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of Templates: time 0.3791/0.6189, allocations: 27.23 MB / 1.049 GB, free: 128.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.380275899078697]