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.001031/0.001031, allocations: 93.06 kB / 19.65 MB, free: 280 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.001551/0.001551, allocations: 169 kB / 23.02 MB, free: 1.555 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.9469/0.9469, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.052/2.052, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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.102e-06/1.102e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.746e-05, allocations: 3.344 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003259/0.003276, allocations: 2.993 MB / 0.8811 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.004755, allocations: 1.12 MB / 0.8822 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.004892, allocations: 7.938 kB / 0.8822 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.005289, allocations: 116.5 kB / 0.8823 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.005597, allocations: 207.8 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.005858, allocations: 149.4 kB / 0.8826 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.006278, allocations: 498.2 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.006642, allocations: 289.9 kB / 0.8834 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.00688, allocations: 276.8 kB / 0.8836 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.007159, allocations: 195.5 kB / 0.8838 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.007195, allocations: 28 kB / 0.8838 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.00734, allocations: 100.4 kB / 0.8839 GB, free: 420 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.007429, allocations: 136.4 kB / 0.8841 GB, free: 284 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.007521, allocations: 123.7 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.007834, allocations: 324 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.007836, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.41e-07/0.007837, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.007841, allocations: 4.656 kB / 0.8845 GB, free: 15.84 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.000615/0.008456, allocations: 0.6492 MB / 0.8851 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.008484, allocations: 8.031 kB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.009035, allocations: 203.8 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.009301, allocations: 245.1 kB / 0.8856 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.00932, allocations: 21.03 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.009352, allocations: 28.38 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.009733, allocations: 466.4 kB / 0.8861 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.009746, allocations: 192 / 0.8861 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.009769, allocations: 16.36 kB / 0.8861 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.009808, allocations: 40.52 kB / 0.8861 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.01001, allocations: 140.9 kB / 0.8862 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.01125, allocations: 1.912 MB / 0.8881 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.01144, allocations: 111.2 kB / 0.8882 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.01157, allocations: 71.64 kB / 0.8883 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.01157, allocations: 4 kB / 0.8883 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.0116, allocations: 41.33 kB / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.0116, allocations: 0 / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0003107/0.01191, allocations: 161.2 kB / 0.8885 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.01193, allocations: 55.41 kB / 0.8885 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.0121, allocations: 278.6 kB / 0.8888 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.01211, allocations: 29.7 kB / 0.8888 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.01222, allocations: 258.9 kB / 0.8891 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.01225, allocations: 43.64 kB / 0.8891 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.01231, allocations: 59.55 kB / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01244, allocations: 0.4962 MB / 0.8897 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.01248, allocations: 28.44 kB / 0.8897 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.01259, allocations: 163 kB / 0.8898 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.01275, allocations: 191.7 kB / 0.89 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01275, allocations: 0 / 0.89 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002608/0.01301, allocations: 223.9 kB / 0.8902 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01302, allocations: 8 kB / 0.8902 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01303, allocations: 4 kB / 0.8903 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.01321, allocations: 32.05 kB / 0.8903 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.01332, allocations: 51.91 kB / 0.8903 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007521/0.01407, allocations: 1.751 MB / 0.892 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.01415, allocations: 19.89 kB / 0.8921 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.01416, allocations: 8 kB / 0.8921 GB, free: 7.531 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.598e-05/0.01426, allocations: 180.6 kB / 0.8922 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.01429, allocations: 27.86 kB / 0.8923 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.01431, allocations: 21.47 kB / 0.8923 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01431, allocations: 3.938 kB / 0.8923 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01432, allocations: 0 / 0.8923 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01432, allocations: 3.984 kB / 0.8923 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.01481, allocations: 0.5615 MB / 0.8928 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01481, allocations: 4.031 kB / 0.8928 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.01486, allocations: 23.94 kB / 0.8929 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.01497, allocations: 35.66 kB / 0.8929 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01498, allocations: 4 kB / 0.8929 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006539/0.01563, allocations: 1.748 MB / 0.8946 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01563, allocations: 0 / 0.8946 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.01584, allocations: 333.5 kB / 0.8949 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.01588, allocations: 39.72 kB / 0.895 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.0159, allocations: 8 kB / 0.895 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.01598, allocations: 7.984 kB / 0.895 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.016, allocations: 24.02 kB / 0.895 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.01601, allocations: 4 kB / 0.895 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.0161, allocations: 189.8 kB / 0.8952 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.0161, allocations: 0 / 0.8952 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002533/0.01635, allocations: 79.84 kB / 0.8953 GB, free: 3.992 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 7.42e-05/0.01643, allocations: 99.19 kB / 0.8954 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.01671, allocations: 281.9 kB / 0.8956 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01672, allocations: 7.875 kB / 0.8956 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.01683, allocations: 229.3 kB / 0.8959 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.01712, allocations: 55.72 kB / 0.8959 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000778/0.0179, allocations: 0.5422 MB / 0.8964 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.302e-05/0.01797, allocations: 108.3 kB / 0.8965 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.086e-05/0.01805, allocations: 37.91 kB / 0.8966 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.01808, allocations: 20.5 kB / 0.8966 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of SimCode: time 1.613e-06/0.01809, allocations: 0 / 0.8966 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of Templates: time 0.004119/0.0222, allocations: 2.469 MB / 0.899 GB, free: 100 kB / 0.8542 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.416460704058409]