Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.00137/0.00137, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001457/0.001457, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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.9629/0.9629, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.101/2.101, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.816e-05, allocations: 5.266 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004542/0.004581, allocations: 2.585 MB / 0.8807 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.006517, allocations: 0.9874 MB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.006684, allocations: 7.938 kB / 0.8816 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.007294, allocations: 92.55 kB / 0.8817 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.007688, allocations: 136.2 kB / 0.8819 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.008035, allocations: 112.7 kB / 0.882 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.008488, allocations: 322.8 kB / 0.8823 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.008929, allocations: 173.3 kB / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.009182, allocations: 179.6 kB / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.009538, allocations: 128.2 kB / 0.8827 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.009582, allocations: 21.38 kB / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.009801, allocations: 87.73 kB / 0.8828 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.009912, allocations: 99.73 kB / 0.8829 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.01002, allocations: 80.59 kB / 0.883 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.01042, allocations: 223.3 kB / 0.8832 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.01042, allocations: 0.5625 kB / 0.8832 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01043, allocations: 0 / 0.8832 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.01043, allocations: 5.031 kB / 0.8832 GB, free: 1.148 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009768/0.01141, allocations: 0.5395 MB / 0.8837 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.01146, allocations: 8.031 kB / 0.8838 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006208/0.01208, allocations: 118.3 kB / 0.8839 GB, free: 460 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.0124, allocations: 192.4 kB / 0.8841 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.01242, allocations: 12.75 kB / 0.8841 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.01246, allocations: 20.38 kB / 0.8841 GB, free: 212 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.0129, allocations: 298.4 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.01292, allocations: 192 / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.01295, allocations: 8.375 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.013, allocations: 20.31 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.01323, allocations: 81.88 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.01467, allocations: 1.245 MB / 0.8857 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.0149, allocations: 76.39 kB / 0.8858 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.01496, allocations: 19.69 kB / 0.8858 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.01497, allocations: 4 kB / 0.8858 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.015, allocations: 41.33 kB / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.015, allocations: 0 / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004415/0.01545, allocations: 117.2 kB / 0.8859 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.01548, allocations: 51.41 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.01568, allocations: 234.6 kB / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.01569, allocations: 29.7 kB / 0.8862 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01581, allocations: 218.9 kB / 0.8864 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.01584, allocations: 27.78 kB / 0.8865 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.0159, allocations: 39.33 kB / 0.8865 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.01605, allocations: 0.5001 MB / 0.887 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.0161, allocations: 19.92 kB / 0.887 GB, free: 13 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.01621, allocations: 108.8 kB / 0.8871 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.01638, allocations: 144.7 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01639, allocations: 0 / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003087/0.0167, allocations: 160.9 kB / 0.8874 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01671, allocations: 4 kB / 0.8874 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.01672, allocations: 4.062 kB / 0.8874 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.01698, allocations: 43.94 kB / 0.8875 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.01709, allocations: 27.94 kB / 0.8875 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.01827, allocations: 1.748 MB / 0.8892 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.01838, allocations: 12.02 kB / 0.8892 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.01839, allocations: 12 kB / 0.8892 GB, free: 10.52 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.01851, allocations: 172.5 kB / 0.8894 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.01855, allocations: 11.95 kB / 0.8894 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.01859, allocations: 21.45 kB / 0.8894 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01859, allocations: 3.938 kB / 0.8894 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.0186, allocations: 0 / 0.8894 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.0186, allocations: 0 / 0.8894 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.01913, allocations: 397.2 kB / 0.8898 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01913, allocations: 0 / 0.8898 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.01917, allocations: 8 kB / 0.8898 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.01934, allocations: 35.66 kB / 0.8898 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.01935, allocations: 0 / 0.8898 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.02051, allocations: 1.736 MB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.02051, allocations: 4 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.02074, allocations: 239.4 kB / 0.8918 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.0208, allocations: 23.89 kB / 0.8918 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.02081, allocations: 0 / 0.8918 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.02092, allocations: 7.938 kB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.02096, allocations: 7.984 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.02096, allocations: 0 / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001235/0.02109, allocations: 172.7 kB / 0.892 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02109, allocations: 4.062 kB / 0.892 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003911/0.02148, allocations: 59.83 kB / 0.892 GB, free: 7.434 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.0216, allocations: 95.23 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.02202, allocations: 248 kB / 0.8924 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.02203, allocations: 0.5625 kB / 0.8924 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.0222, allocations: 201.5 kB / 0.8926 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.02262, allocations: 35.52 kB / 0.8926 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.02372, allocations: 346.7 kB / 0.8929 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.549e-05/0.0238, allocations: 87.97 kB / 0.893 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.676e-05/0.0239, allocations: 25.45 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.02393, allocations: 12.5 kB / 0.893 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.02393, allocations: 0 / 0.893 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of Templates: time 0.005285/0.02922, allocations: 1.684 MB / 0.8947 GB, free: 4.668 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.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: 5.5006337268278]