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.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.001829/0.001829, allocations: 113 kB / 17.6 MB, free: 4.684 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.002232/0.002232, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.469/1.469, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.00203/0.00203, allocations: 67.89 kB / 1.107 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9724/0.9745, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005894/0.9804, allocations: 3.984 MB / 1.276 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003151/0.9835, allocations: 1.799 MB / 1.278 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.9838, allocations: 10.78 kB / 1.278 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.9853, allocations: 0.5015 MB / 1.278 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006157/0.9859, allocations: 228.4 kB / 1.278 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.9865, allocations: 203.9 kB / 1.279 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006311/0.9872, allocations: 476.4 kB / 1.279 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.9877, allocations: 262.8 kB / 1.279 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.988, allocations: 201.2 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.9885, allocations: 226.7 kB / 1.28 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.9885, allocations: 28.12 kB / 1.28 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006237/0.9891, allocations: 256.6 kB / 1.28 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.9893, allocations: 128.2 kB / 1.28 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.9896, allocations: 170.9 kB / 1.28 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009722/0.9906, allocations: 0.5053 MB / 1.281 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.9906, allocations: 4.938 kB / 1.281 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9906, allocations: 0 / 1.281 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.9906, allocations: 4.609 kB / 1.281 GB, free: 2.613 MB / 0.9981 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.00125/0.9918, allocations: 0.6367 MB / 1.281 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.9919, allocations: 11.77 kB / 1.281 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.9929, allocations: 138.6 kB / 1.281 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.9933, allocations: 304.1 kB / 1.282 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.9933, allocations: 21.22 kB / 1.282 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.9934, allocations: 26.5 kB / 1.282 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.9941, allocations: 474.6 kB / 1.282 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.9941, allocations: 0 / 1.282 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.9941, allocations: 15.95 kB / 1.282 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-05/0.9942, allocations: 28.97 kB / 1.282 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.9947, allocations: 320.4 kB / 1.283 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.9969, allocations: 2.186 MB / 1.285 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.9974, allocations: 234.1 kB / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.9976, allocations: 100.7 kB / 1.285 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.9976, allocations: 3.375 kB / 1.285 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.9976, allocations: 35.27 kB / 1.285 GB, free: 15.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.9976, allocations: 0 / 1.285 GB, free: 15.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0006609/0.9983, allocations: 296 kB / 1.285 GB, free: 15.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.9984, allocations: 53.53 kB / 1.285 GB, free: 14.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.9987, allocations: 266.8 kB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.9987, allocations: 26.39 kB / 1.286 GB, free: 14.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.9989, allocations: 221.6 kB / 1.286 GB, free: 14.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.9989, allocations: 54.88 kB / 1.286 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.999, allocations: 48.16 kB / 1.286 GB, free: 14.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.9992, allocations: 333.1 kB / 1.286 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.9993, allocations: 59.47 kB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.9995, allocations: 145.5 kB / 1.287 GB, free: 14.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.9998, allocations: 226.8 kB / 1.287 GB, free: 13.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9998, allocations: 1.781 kB / 1.287 GB, free: 13.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004325/1, allocations: 265.9 kB / 1.287 GB, free: 13.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1, allocations: 7.047 kB / 1.287 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1, allocations: 2.906 kB / 1.287 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/1, allocations: 28.03 kB / 1.287 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.001, allocations: 52 kB / 1.287 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/1.002, allocations: 1.424 MB / 1.288 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/1.002, allocations: 31.7 kB / 1.288 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/1.002, allocations: 9.219 kB / 1.288 GB, free: 12.27 MB / 1.014 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.0002074/1.002, allocations: 175.5 kB / 1.289 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/1.002, allocations: 22.98 kB / 1.289 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/1.002, allocations: 31.05 kB / 1.289 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.002, allocations: 2.188 kB / 1.289 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.002, allocations: 0 / 1.289 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.002, allocations: 1.719 kB / 1.289 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/1.004, allocations: 0.6993 MB / 1.289 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.004, allocations: 6.094 kB / 1.289 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.265e-05/1.004, allocations: 21.55 kB / 1.289 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/1.004, allocations: 29.06 kB / 1.289 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/1.004, allocations: 7.25 kB / 1.289 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.005, allocations: 1.422 MB / 1.291 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.005, allocations: 3.781 kB / 1.291 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/1.005, allocations: 316.1 kB / 1.291 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/1.006, allocations: 122.4 kB / 1.291 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/1.006, allocations: 3.219 kB / 1.291 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/1.006, allocations: 13.02 kB / 1.291 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/1.006, allocations: 17.22 kB / 1.291 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/1.006, allocations: 13.53 kB / 1.291 GB, free: 9.703 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002311/1.006, allocations: 190.9 kB / 1.291 GB, free: 9.594 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.006, allocations: 4 kB / 1.291 GB, free: 9.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004605/1.007, allocations: 71.92 kB / 1.292 GB, free: 9.578 MB / 1.014 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.0001546/1.007, allocations: 102.5 kB / 1.292 GB, free: 9.484 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005526/1.007, allocations: 270.7 kB / 1.292 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.007, allocations: 5.594 kB / 1.292 GB, free: 9.312 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/1.007, allocations: 176.6 kB / 1.292 GB, free: 9.184 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/1.008, allocations: 60.67 kB / 1.292 GB, free: 9.164 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/1.009, allocations: 0.5506 MB / 1.293 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/1.009, allocations: 0.7896 MB / 1.293 GB, free: 8.102 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001473/1.01, allocations: 45.62 kB / 1.294 GB, free: 8.094 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/1.01, allocations: 19.5 kB / 1.294 GB, free: 8.086 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.01, allocations: 0.9688 kB / 1.294 GB, free: 8.086 MB / 1.014 GB Notification: Performance of Templates: time 0.007336/1.017, allocations: 2.813 MB / 1.296 GB, free: 7.867 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] 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: 9.317045439966023]