Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001908/0.001908, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002004/0.002004, 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.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.144/3.144, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0.6562 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.595e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006815/0.006841, allocations: 3.907 MB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.0102, allocations: 1.755 MB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.01035, allocations: 11.94 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.01192, allocations: 0.5007 MB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.0125, allocations: 240.4 kB / 0.817 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.01304, allocations: 204.4 kB / 0.8172 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006496/0.01369, allocations: 491.7 kB / 0.8177 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.01427, allocations: 289.4 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.01466, allocations: 275.3 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.01512, allocations: 204.4 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.01519, allocations: 28 kB / 0.8185 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.01565, allocations: 228 kB / 0.8187 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.01582, allocations: 135.6 kB / 0.8188 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.016, allocations: 120.6 kB / 0.8189 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.01676, allocations: 0.5218 MB / 0.8194 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01677, allocations: 1.75 kB / 0.8194 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01677, allocations: 0 / 0.8194 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.01677, allocations: 0 / 0.8194 GB, free: 9.254 MB / 0.7761 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.001407/0.01818, allocations: 0.6877 MB / 0.8201 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.01822, allocations: 12.03 kB / 0.8201 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.01928, allocations: 194 kB / 0.8203 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.01975, allocations: 233.9 kB / 0.8205 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.01978, allocations: 22.12 kB / 0.8206 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.01983, allocations: 32.36 kB / 0.8206 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/0.02055, allocations: 492.9 kB / 0.8211 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.02056, allocations: 1.094 kB / 0.8211 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.02061, allocations: 16.36 kB / 0.8211 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-05/0.02066, allocations: 28.58 kB / 0.8211 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.02103, allocations: 168.1 kB / 0.8213 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.02354, allocations: 1.981 MB / 0.8232 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.02388, allocations: 120 kB / 0.8233 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.02413, allocations: 75.64 kB / 0.8234 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.02415, allocations: 5.969 kB / 0.8234 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.02419, allocations: 41.33 kB / 0.8234 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.0242, allocations: 0 / 0.8234 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0006026/0.0248, allocations: 178.1 kB / 0.8236 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.02485, allocations: 54.84 kB / 0.8236 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.02521, allocations: 310.5 kB / 0.8239 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.02524, allocations: 29.7 kB / 0.824 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.02547, allocations: 278.8 kB / 0.8242 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.02552, allocations: 51.59 kB / 0.8243 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.02562, allocations: 55.55 kB / 0.8243 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002965/0.02592, allocations: 0.5118 MB / 0.8248 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.026, allocations: 32.45 kB / 0.8249 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.02621, allocations: 166 kB / 0.825 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.02653, allocations: 217.8 kB / 0.8252 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02653, allocations: 1.75 kB / 0.8252 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004388/0.02697, allocations: 240.3 kB / 0.8255 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.02698, allocations: 4 kB / 0.8255 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.02699, allocations: 4 kB / 0.8255 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.02726, allocations: 40.59 kB / 0.8255 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.02745, allocations: 44.95 kB / 0.8256 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.02927, allocations: 1.768 MB / 0.8273 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.02942, allocations: 24.91 kB / 0.8273 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.02944, allocations: 15.94 kB / 0.8273 GB, free: 0.6445 MB / 0.7761 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.0001714/0.02961, allocations: 173.7 kB / 0.8275 GB, free: 476 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.02967, allocations: 27.8 kB / 0.8275 GB, free: 448 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.02972, allocations: 27.11 kB / 0.8275 GB, free: 424 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.02973, allocations: 7.938 kB / 0.8275 GB, free: 416 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.02973, allocations: 0 / 0.8275 GB, free: 416 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.02974, allocations: 0 / 0.8275 GB, free: 416 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.03076, allocations: 0.6184 MB / 0.8282 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.03077, allocations: 0 / 0.8282 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.89e-05/0.03087, allocations: 27.92 kB / 0.8282 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.03103, allocations: 34.11 kB / 0.8282 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.03105, allocations: 4 kB / 0.8282 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.03251, allocations: 1.759 MB / 0.8299 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.03251, allocations: 4 kB / 0.8299 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.03294, allocations: 346.9 kB / 0.8303 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.03304, allocations: 39.77 kB / 0.8303 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.03308, allocations: 8.719 kB / 0.8303 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.03324, allocations: 12.75 kB / 0.8303 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.03328, allocations: 23.92 kB / 0.8303 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.0333, allocations: 11.97 kB / 0.8304 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002059/0.03351, allocations: 209.5 kB / 0.8306 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.03351, allocations: 0 / 0.8306 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004083/0.03392, allocations: 79.78 kB / 0.8306 GB, free: 13 MB / 0.7917 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.0001538/0.03407, allocations: 99.25 kB / 0.8307 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.03461, allocations: 313.6 kB / 0.831 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.03461, allocations: 0 / 0.831 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.03489, allocations: 232.4 kB / 0.8313 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.03536, allocations: 61.91 kB / 0.8313 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.03632, allocations: 0.5243 MB / 0.8318 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.03654, allocations: 186.1 kB / 0.832 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.03666, allocations: 33.92 kB / 0.832 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.03671, allocations: 16.5 kB / 0.832 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of SimCode: time 4.31e-07/0.03671, allocations: 0 / 0.832 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of Templates: time 0.0074/0.04411, allocations: 2.464 MB / 0.8345 GB, free: 9.055 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.448926448007114]