Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001507/0.001507, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001533/0.001533, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.056/2.056, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.776e-05, allocations: 6 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004336/0.004364, allocations: 3.958 MB / 0.882 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.006287, allocations: 1.762 MB / 0.8837 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.006416, allocations: 11.38 kB / 0.8838 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007944/0.00721, allocations: 0.498 MB / 0.8842 GB, free: 444 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.007535, allocations: 236.6 kB / 0.8845 GB, free: 208 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.007898, allocations: 215.4 kB / 0.8847 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.008318, allocations: 490.1 kB / 0.8851 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.008747, allocations: 289.4 kB / 0.8854 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.008965, allocations: 275.3 kB / 0.8857 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.009264, allocations: 191.5 kB / 0.8859 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.009301, allocations: 31.94 kB / 0.8859 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.009537, allocations: 231.4 kB / 0.8861 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.009634, allocations: 131.6 kB / 0.8862 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.009732, allocations: 119.7 kB / 0.8864 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.01012, allocations: 406.6 kB / 0.8867 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01012, allocations: 0 / 0.8867 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01012, allocations: 0 / 0.8867 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.01013, allocations: 0 / 0.8867 GB, free: 13.86 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0006696/0.0108, allocations: 0.6673 MB / 0.8874 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.01084, allocations: 12.03 kB / 0.8874 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006195/0.01145, allocations: 196.4 kB / 0.8876 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.01171, allocations: 244 kB / 0.8878 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.01173, allocations: 21.03 kB / 0.8878 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.01176, allocations: 32.36 kB / 0.8879 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.01213, allocations: 460.9 kB / 0.8883 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01215, allocations: 8.125 kB / 0.8883 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.01217, allocations: 16.38 kB / 0.8883 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/0.01221, allocations: 32.58 kB / 0.8884 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.0124, allocations: 135.7 kB / 0.8885 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.01362, allocations: 1.915 MB / 0.8904 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.01382, allocations: 111.2 kB / 0.8905 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.01396, allocations: 63.64 kB / 0.8905 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.01397, allocations: 4 kB / 0.8905 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.014, allocations: 45.33 kB / 0.8906 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.014, allocations: 4 kB / 0.8906 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0003346/0.01433, allocations: 156.7 kB / 0.8907 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.01436, allocations: 55.41 kB / 0.8908 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01452, allocations: 282.6 kB / 0.8911 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.01453, allocations: 29.7 kB / 0.8911 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.01464, allocations: 262.9 kB / 0.8913 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.01467, allocations: 43.64 kB / 0.8914 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.01472, allocations: 59.55 kB / 0.8914 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01484, allocations: 0.504 MB / 0.8919 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.01488, allocations: 28.44 kB / 0.892 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.01498, allocations: 153.7 kB / 0.8921 GB, free: 8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.01514, allocations: 199.8 kB / 0.8923 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.01515, allocations: 8 kB / 0.8923 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002311/0.01538, allocations: 212.4 kB / 0.8925 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01539, allocations: 12.06 kB / 0.8925 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.0154, allocations: 4 kB / 0.8925 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.01558, allocations: 35.67 kB / 0.8926 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.01569, allocations: 47.91 kB / 0.8926 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008301/0.01652, allocations: 1.744 MB / 0.8943 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.0166, allocations: 15.89 kB / 0.8943 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.01661, allocations: 12 kB / 0.8943 GB, free: 5.535 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 9.188e-05/0.0167, allocations: 176.4 kB / 0.8945 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.01673, allocations: 27.86 kB / 0.8945 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.01675, allocations: 21.47 kB / 0.8945 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01675, allocations: 8.031 kB / 0.8945 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01676, allocations: 0 / 0.8945 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01676, allocations: 7.984 kB / 0.8946 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.01726, allocations: 0.5652 MB / 0.8951 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01727, allocations: 3.984 kB / 0.8951 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.01731, allocations: 20 kB / 0.8951 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.913e-05/0.01741, allocations: 35.84 kB / 0.8952 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01742, allocations: 8 kB / 0.8952 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006644/0.01809, allocations: 1.736 MB / 0.8969 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01809, allocations: 4.109 kB / 0.8969 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.01829, allocations: 337.5 kB / 0.8972 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.01833, allocations: 47.66 kB / 0.8972 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.01835, allocations: 4 kB / 0.8972 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.01843, allocations: 15.98 kB / 0.8973 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.01845, allocations: 7.984 kB / 0.8973 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01846, allocations: 8 kB / 0.8973 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.975e-05/0.01855, allocations: 193.5 kB / 0.8975 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01855, allocations: 0 / 0.8975 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002348/0.01878, allocations: 83.78 kB / 0.8975 GB, free: 1.984 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 9.672e-05/0.01888, allocations: 107.1 kB / 0.8976 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.01918, allocations: 273.5 kB / 0.8979 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01918, allocations: 4.75 kB / 0.8979 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.0193, allocations: 229.3 kB / 0.8981 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.01959, allocations: 50.02 kB / 0.8982 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.0204, allocations: 0.5401 MB / 0.8987 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.381e-05/0.02046, allocations: 104.3 kB / 0.8988 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.973e-05/0.02054, allocations: 37.91 kB / 0.8988 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.02058, allocations: 20.5 kB / 0.8989 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.02058, allocations: 0 / 0.8989 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of Templates: time 0.004193/0.02478, allocations: 2.476 MB / 0.9013 GB, free: 14.1 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.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.395339217968285]