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.002764/0.002764, allocations: 89.48 kB / 19.44 MB, free: 332 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.003523/0.003523, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.385/3.385, allocations: 429.5 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] 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.924e-06/1.924e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.254e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.007247/0.007279, allocations: 3.912 MB / 0.8812 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003741/0.01102, allocations: 1.753 MB / 0.8829 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.01125, allocations: 11.94 kB / 0.883 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.01307, allocations: 0.4989 MB / 0.8834 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007951/0.01387, allocations: 232.7 kB / 0.8837 GB, free: 280 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007017/0.01457, allocations: 212.4 kB / 0.8839 GB, free: 68 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007907/0.01536, allocations: 490.3 kB / 0.8843 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006587/0.01602, allocations: 286.4 kB / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.01642, allocations: 279.3 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.01691, allocations: 196.1 kB / 0.8851 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.01697, allocations: 31.59 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005035/0.01747, allocations: 231.2 kB / 0.8853 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.01767, allocations: 135.6 kB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.01785, allocations: 119.7 kB / 0.8856 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.01862, allocations: 0.514 MB / 0.8861 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.01863, allocations: 7.984 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01863, allocations: 0 / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.01864, allocations: 0 / 0.8861 GB, free: 13.8 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.001586/0.02022, allocations: 0.6837 MB / 0.8867 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.02027, allocations: 8.75 kB / 0.8867 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.02136, allocations: 198.1 kB / 0.8869 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.02182, allocations: 237.2 kB / 0.8872 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.02185, allocations: 30.48 kB / 0.8872 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.0219, allocations: 28.38 kB / 0.8872 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.02264, allocations: 492.9 kB / 0.8877 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.02265, allocations: 192 / 0.8877 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.02269, allocations: 13.28 kB / 0.8877 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/0.02275, allocations: 40.52 kB / 0.8877 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.02311, allocations: 159.2 kB / 0.8879 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.02566, allocations: 1.978 MB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.02602, allocations: 127.1 kB / 0.8899 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.02626, allocations: 79.66 kB / 0.89 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.02627, allocations: 0 / 0.89 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.02632, allocations: 41.33 kB / 0.8901 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.02632, allocations: 0 / 0.8901 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0006135/0.02693, allocations: 169.4 kB / 0.8902 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.02699, allocations: 55.41 kB / 0.8903 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.02733, allocations: 310.6 kB / 0.8906 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.02737, allocations: 33.7 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.02758, allocations: 266.8 kB / 0.8909 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.02764, allocations: 51.59 kB / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.02774, allocations: 59.59 kB / 0.891 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002971/0.02804, allocations: 0.5079 MB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.02813, allocations: 36.45 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.02836, allocations: 170.9 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.02866, allocations: 215.2 kB / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02867, allocations: 0 / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004558/0.02912, allocations: 244.7 kB / 0.8921 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.02914, allocations: 8 kB / 0.8921 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.02916, allocations: 8.062 kB / 0.8921 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.02946, allocations: 43.97 kB / 0.8921 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.02966, allocations: 43.98 kB / 0.8922 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.03153, allocations: 1.759 MB / 0.8939 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.03169, allocations: 27.78 kB / 0.8939 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.03172, allocations: 12 kB / 0.8939 GB, free: 5.184 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 0.000194/0.03191, allocations: 180.6 kB / 0.8941 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.03196, allocations: 23.91 kB / 0.8941 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.03202, allocations: 25.45 kB / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.03203, allocations: 3.938 kB / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.03203, allocations: 4 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.03203, allocations: 0 / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.03305, allocations: 0.6199 MB / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.03306, allocations: 4.188 kB / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/0.03315, allocations: 27.92 kB / 0.8948 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001795/0.03333, allocations: 35.67 kB / 0.8948 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.03335, allocations: 8 kB / 0.8949 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.03483, allocations: 1.759 MB / 0.8966 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.03483, allocations: 4 kB / 0.8966 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.03526, allocations: 345.5 kB / 0.8969 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-05/0.03535, allocations: 39.77 kB / 0.8969 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.03538, allocations: 4 kB / 0.8969 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.03554, allocations: 8 kB / 0.897 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.03558, allocations: 19.92 kB / 0.897 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.03559, allocations: 8.062 kB / 0.897 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002121/0.03581, allocations: 209.8 kB / 0.8972 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03581, allocations: 0 / 0.8972 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004534/0.03626, allocations: 83.78 kB / 0.8973 GB, free: 1.531 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 0.0001495/0.03641, allocations: 97.88 kB / 0.8974 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000582/0.03699, allocations: 316.8 kB / 0.8977 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03699, allocations: 0 / 0.8977 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.03728, allocations: 225.4 kB / 0.8979 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.03777, allocations: 65.19 kB / 0.8979 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.03885, allocations: 0.5289 MB / 0.8984 GB, free: 216 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.03909, allocations: 186.1 kB / 0.8986 GB, free: 8 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.03924, allocations: 37.91 kB / 0.8987 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.03929, allocations: 20.5 kB / 0.8987 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/0.03929, allocations: 0 / 0.8987 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.007518/0.04681, allocations: 2.455 MB / 0.9011 GB, free: 13.57 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.90237804595381]