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.001811/0.001811, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001898/0.001898, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.457/1.457, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.636/2.636, allocations: 443.5 MB / 0.7293 GB, free: 14.49 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.002002/0.002002, allocations: 63.91 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3781, allocations: 160.7 MB / 1.214 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006498/0.3846, allocations: 3.88 MB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003307/0.3879, allocations: 1.764 MB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.3881, allocations: 7.938 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.3898, allocations: 0.5058 MB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006659/0.3905, allocations: 222.9 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.3911, allocations: 215.3 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006232/0.3918, allocations: 474.4 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005619/0.3923, allocations: 297.2 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.3926, allocations: 207.2 kB / 1.221 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.3931, allocations: 227.2 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.3931, allocations: 28 kB / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.3937, allocations: 255.4 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3938, allocations: 127.6 kB / 1.222 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.394, allocations: 171.2 kB / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007179/0.3947, allocations: 0.502 MB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3947, allocations: 0 / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3947, allocations: 0 / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3948, allocations: 0 / 1.223 GB, free: 8.059 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.001226/0.396, allocations: 0.6388 MB / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.396, allocations: 8.031 kB / 1.223 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.397, allocations: 132.6 kB / 1.223 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.3974, allocations: 299.7 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.3975, allocations: 24.97 kB / 1.224 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.3975, allocations: 24.38 kB / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/0.3983, allocations: 471.9 kB / 1.224 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3983, allocations: 0 / 1.224 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.3983, allocations: 15.98 kB / 1.224 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/0.3984, allocations: 32.48 kB / 1.224 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.3989, allocations: 317.9 kB / 1.225 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.4015, allocations: 2.189 MB / 1.227 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.4019, allocations: 247.8 kB / 1.227 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.4022, allocations: 92.8 kB / 1.227 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.4022, allocations: 7.938 kB / 1.227 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4022, allocations: 30.56 kB / 1.227 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.4022, allocations: 0 / 1.227 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0006869/0.4029, allocations: 303.4 kB / 1.227 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.403, allocations: 51.41 kB / 1.227 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.4033, allocations: 266.6 kB / 1.228 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.4033, allocations: 29.64 kB / 1.228 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.4035, allocations: 212.3 kB / 1.228 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.4035, allocations: 55.56 kB / 1.228 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.4036, allocations: 53.89 kB / 1.228 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4038, allocations: 330.8 kB / 1.228 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4039, allocations: 64.42 kB / 1.228 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.4041, allocations: 137.5 kB / 1.228 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.4044, allocations: 223.2 kB / 1.229 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4044, allocations: 0 / 1.229 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004563/0.4049, allocations: 273 kB / 1.229 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4049, allocations: 7.938 kB / 1.229 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4049, allocations: 4 kB / 1.229 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.4051, allocations: 24.84 kB / 1.229 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.4053, allocations: 56.22 kB / 1.229 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.4067, allocations: 1.422 MB / 1.23 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.4068, allocations: 31.73 kB / 1.23 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.4069, allocations: 12 kB / 1.23 GB, free: 15.37 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.0002056/0.4071, allocations: 169.7 kB / 1.231 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.4071, allocations: 23.86 kB / 1.231 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.4072, allocations: 25.83 kB / 1.231 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4072, allocations: 4 kB / 1.231 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4072, allocations: 4.062 kB / 1.231 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4072, allocations: 0 / 1.231 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.4082, allocations: 0.7027 MB / 1.231 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4082, allocations: 4.031 kB / 1.231 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.4083, allocations: 27.92 kB / 1.231 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.88e-05/0.4084, allocations: 28.78 kB / 1.231 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.4084, allocations: 7.984 kB / 1.231 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.4097, allocations: 1.414 MB / 1.233 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.4097, allocations: 4.031 kB / 1.233 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.4101, allocations: 313.3 kB / 1.233 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.4102, allocations: 120.9 kB / 1.233 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.4102, allocations: 4 kB / 1.233 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4104, allocations: 12 kB / 1.233 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.4104, allocations: 19.86 kB / 1.233 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.4104, allocations: 8 kB / 1.233 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002032/0.4106, allocations: 190 kB / 1.233 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4106, allocations: 0 / 1.233 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004164/0.4111, allocations: 79.83 kB / 1.234 GB, free: 11.93 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.0001498/0.4112, allocations: 103.2 kB / 1.234 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.4117, allocations: 266.4 kB / 1.234 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4117, allocations: 0.75 kB / 1.234 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.412, allocations: 182.7 kB / 1.234 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.4125, allocations: 57.12 kB / 1.234 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4135, allocations: 0.5726 MB / 1.235 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.414, allocations: 0.8025 MB / 1.235 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.4141, allocations: 19.44 kB / 1.235 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.4141, allocations: 7.875 kB / 1.236 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of Templates: time 0.007796/0.4219, allocations: 4.421 MB / 1.24 GB, free: 5.418 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.536280334927142]