Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002155/0.002155, allocations: 75.7 kB / 20.23 MB, free: 4.191 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.002022/0.002022, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.951/2.951, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.733e-05, allocations: 6.266 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006885/0.006912, allocations: 3.91 MB / 0.7902 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.01044, allocations: 1.764 MB / 0.7919 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.01062, allocations: 7.938 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.01221, allocations: 0.5015 MB / 0.7924 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.01278, allocations: 238.5 kB / 0.7926 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.01333, allocations: 205.8 kB / 0.7928 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006125/0.01394, allocations: 486.2 kB / 0.7933 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.01451, allocations: 289.4 kB / 0.7935 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.01489, allocations: 275.3 kB / 0.7938 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.01538, allocations: 204.3 kB / 0.794 GB, free: 5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.01545, allocations: 29.03 kB / 0.794 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004416/0.01589, allocations: 227.3 kB / 0.7943 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.01607, allocations: 139.6 kB / 0.7944 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.01626, allocations: 117 kB / 0.7945 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008106/0.01707, allocations: 0.5179 MB / 0.795 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01707, allocations: 3.938 kB / 0.795 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/0.01707, allocations: 4.875 kB / 0.795 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.01708, allocations: 0 / 0.795 GB, free: 3.973 MB / 0.7448 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.001231/0.01831, allocations: 0.6803 MB / 0.7957 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.01835, allocations: 12.03 kB / 0.7957 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.01941, allocations: 198.3 kB / 0.7959 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.01989, allocations: 237.6 kB / 0.7961 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.01992, allocations: 22.38 kB / 0.7961 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.01998, allocations: 28.38 kB / 0.7961 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.02098, allocations: 492.9 kB / 0.7966 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.021, allocations: 4.125 kB / 0.7966 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.02104, allocations: 17.52 kB / 0.7966 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.02111, allocations: 36.56 kB / 0.7967 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.02148, allocations: 159 kB / 0.7968 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.02402, allocations: 1.982 MB / 0.7988 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.02437, allocations: 128 kB / 0.7989 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.02461, allocations: 77.84 kB / 0.799 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.02463, allocations: 7.984 kB / 0.799 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.02467, allocations: 45.33 kB / 0.799 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.02467, allocations: 0 / 0.799 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14): time 0.0005629/0.02523, allocations: 178.8 kB / 0.7992 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.02528, allocations: 51.41 kB / 0.7992 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.02562, allocations: 306.6 kB / 0.7995 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.02565, allocations: 33.7 kB / 0.7996 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.02586, allocations: 274.7 kB / 0.7998 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.02592, allocations: 51.59 kB / 0.7999 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.02604, allocations: 55.56 kB / 0.7999 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003019/0.02634, allocations: 0.5079 MB / 0.8004 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.02642, allocations: 33.86 kB / 0.8004 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.02664, allocations: 172.8 kB / 0.8006 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.02697, allocations: 211.5 kB / 0.8008 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.02697, allocations: 9.031 kB / 0.8008 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004406/0.02741, allocations: 233.9 kB / 0.801 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.02743, allocations: 7.656 kB / 0.8011 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.02744, allocations: 4 kB / 0.8011 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000277/0.02771, allocations: 43.59 kB / 0.8011 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.02792, allocations: 51.91 kB / 0.8011 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.02953, allocations: 1.754 MB / 0.8029 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.0297, allocations: 27.78 kB / 0.8029 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.02972, allocations: 9.094 kB / 0.8029 GB, free: 11.36 MB / 0.7605 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.0001896/0.02991, allocations: 176.5 kB / 0.8031 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.02997, allocations: 28.98 kB / 0.8031 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.03002, allocations: 25.45 kB / 0.8031 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.03003, allocations: 3.938 kB / 0.8031 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.03003, allocations: 0.9688 kB / 0.8031 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.03003, allocations: 64 / 0.8031 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.03132, allocations: 0.6223 MB / 0.8037 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.03133, allocations: 4 kB / 0.8037 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.03142, allocations: 27.86 kB / 0.8038 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/0.03159, allocations: 41.56 kB / 0.8038 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.0316, allocations: 4 kB / 0.8038 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.03307, allocations: 1.755 MB / 0.8055 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.03308, allocations: 4 kB / 0.8055 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.0335, allocations: 349.5 kB / 0.8059 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.0336, allocations: 35.91 kB / 0.8059 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.03363, allocations: 12 kB / 0.8059 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.03379, allocations: 8 kB / 0.8059 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.03383, allocations: 19.91 kB / 0.8059 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.03385, allocations: 8 kB / 0.8059 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002055/0.03406, allocations: 205.5 kB / 0.8061 GB, free: 7.797 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03406, allocations: 0 / 0.8061 GB, free: 7.797 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000423/0.03448, allocations: 79.78 kB / 0.8062 GB, free: 7.719 MB / 0.7605 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.0001585/0.03464, allocations: 115.2 kB / 0.8063 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.03519, allocations: 305.2 kB / 0.8066 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.03519, allocations: 0 / 0.8066 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.03546, allocations: 226.5 kB / 0.8068 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.03593, allocations: 61.16 kB / 0.8069 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.03695, allocations: 0.5342 MB / 0.8074 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.03717, allocations: 178.1 kB / 0.8076 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.0373, allocations: 33.92 kB / 0.8076 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.03735, allocations: 20.5 kB / 0.8076 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of SimCode: time 6.62e-07/0.03735, allocations: 0 / 0.8076 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of Templates: time 0.007102/0.04445, allocations: 2.457 MB / 0.81 GB, free: 3.754 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.127004932030104]