Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.89 kB / 1.059 GB, free: 440 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 160.7 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006975/0.358, allocations: 3.975 MB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003309/0.3613, allocations: 1.807 MB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.3616, allocations: 8 kB / 1.222 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.3631, allocations: 0.502 MB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.3638, allocations: 230.9 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.3643, allocations: 219.3 kB / 1.223 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.3649, allocations: 474.4 kB / 1.223 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.3654, allocations: 277.1 kB / 1.223 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.3656, allocations: 199.3 kB / 1.224 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.3661, allocations: 231 kB / 1.224 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.3661, allocations: 32 kB / 1.224 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.3666, allocations: 243.5 kB / 1.224 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.3667, allocations: 131.6 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.3669, allocations: 175.1 kB / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.3676, allocations: 0.4981 MB / 1.225 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3676, allocations: 3.938 kB / 1.225 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3676, allocations: 0 / 1.225 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.3676, allocations: 4 kB / 1.225 GB, free: 6.402 MB / 0.9669 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.001138/0.3687, allocations: 0.6349 MB / 1.225 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3688, allocations: 12.03 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/0.3697, allocations: 136.6 kB / 1.226 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.3701, allocations: 295.8 kB / 1.226 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.3701, allocations: 21.03 kB / 1.226 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.3702, allocations: 28.38 kB / 1.226 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.3709, allocations: 463.9 kB / 1.226 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3709, allocations: 3.938 kB / 1.226 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.3709, allocations: 12 kB / 1.226 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.371, allocations: 32.55 kB / 1.226 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.3715, allocations: 325.9 kB / 1.227 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.3739, allocations: 2.181 MB / 1.229 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.3743, allocations: 243.8 kB / 1.229 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.3745, allocations: 96.8 kB / 1.229 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3746, allocations: 0 / 1.229 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.3746, allocations: 34.56 kB / 1.229 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.3746, allocations: 3.984 kB / 1.229 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0006874/0.3753, allocations: 303.4 kB / 1.23 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3753, allocations: 51.41 kB / 1.23 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.3756, allocations: 266.6 kB / 1.23 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3757, allocations: 29.7 kB / 1.23 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3758, allocations: 212.3 kB / 1.23 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.3759, allocations: 51.58 kB / 1.23 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.376, allocations: 49.89 kB / 1.23 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3761, allocations: 338.8 kB / 1.23 GB, free: 192 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.3762, allocations: 52.44 kB / 1.231 GB, free: 140 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3764, allocations: 148 kB / 1.231 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.3767, allocations: 215.2 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3767, allocations: 8.094 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004245/0.3771, allocations: 265.8 kB / 1.231 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3772, allocations: 8 kB / 1.231 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3772, allocations: 0 / 1.231 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.3773, allocations: 33.22 kB / 1.231 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.3775, allocations: 51.91 kB / 1.231 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3788, allocations: 1.418 MB / 1.233 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.379, allocations: 27.78 kB / 1.233 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.379, allocations: 8 kB / 1.233 GB, free: 13.74 MB / 0.9825 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.0001956/0.3792, allocations: 169.7 kB / 1.233 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.3793, allocations: 27.91 kB / 1.233 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.3793, allocations: 29.89 kB / 1.233 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3793, allocations: 8 kB / 1.233 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3793, allocations: 0 / 1.233 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3794, allocations: 0 / 1.233 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/0.3803, allocations: 0.7064 MB / 1.234 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3803, allocations: 0 / 1.234 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.3804, allocations: 23.98 kB / 1.234 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.3805, allocations: 32.72 kB / 1.234 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3806, allocations: 4 kB / 1.234 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.3817, allocations: 1.41 MB / 1.235 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3817, allocations: 4.188 kB / 1.235 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.3821, allocations: 322.9 kB / 1.235 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3822, allocations: 120.9 kB / 1.235 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.3822, allocations: 4 kB / 1.235 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3824, allocations: 8 kB / 1.235 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3825, allocations: 15.92 kB / 1.235 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3825, allocations: 4 kB / 1.235 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002071/0.3827, allocations: 194 kB / 1.236 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3827, allocations: 4 kB / 1.236 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004188/0.3831, allocations: 79.83 kB / 1.236 GB, free: 10.29 MB / 0.9825 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.0001351/0.3832, allocations: 103.2 kB / 1.236 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.3837, allocations: 263 kB / 1.236 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3837, allocations: 4.125 kB / 1.236 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.384, allocations: 186.5 kB / 1.236 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.3844, allocations: 70.67 kB / 1.236 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3854, allocations: 0.5473 MB / 1.237 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.3859, allocations: 0.7948 MB / 1.238 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.386, allocations: 42.27 kB / 1.238 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.3861, allocations: 19.44 kB / 1.238 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.3861, allocations: 0 / 1.238 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of Templates: time 0.006939/0.393, allocations: 2.814 MB / 1.24 GB, free: 5.391 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.712566928006709]