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.002075/0.002075, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002762/0.002762, allocations: 214.2 kB / 23.01 MB, free: 4.566 MB / 14.72 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.8 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.92 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006043/0.367, allocations: 4.001 MB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.3703, allocations: 1.842 MB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.3705, allocations: 7.938 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.3721, allocations: 0.5036 MB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.3727, allocations: 230.9 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.3732, allocations: 215.4 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.3738, allocations: 470.5 kB / 1.292 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005213/0.3743, allocations: 289.4 kB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.3746, allocations: 199.4 kB / 1.292 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000414/0.375, allocations: 231.1 kB / 1.292 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.375, allocations: 28 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.3754, allocations: 251.4 kB / 1.293 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.3756, allocations: 127.6 kB / 1.293 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.3758, allocations: 175.1 kB / 1.293 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.3764, allocations: 0.5059 MB / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3764, allocations: 0 / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3764, allocations: 0 / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3764, allocations: 0 / 1.293 GB, free: 2.184 MB / 0.9825 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.001088/0.3775, allocations: 0.5674 MB / 1.294 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3775, allocations: 8.031 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008946/0.3784, allocations: 132.6 kB / 1.294 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.3788, allocations: 238.5 kB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3789, allocations: 21.03 kB / 1.294 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.3789, allocations: 32.36 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.3796, allocations: 467.7 kB / 1.295 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3796, allocations: 4 kB / 1.295 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.3797, allocations: 12 kB / 1.295 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/0.3797, allocations: 32.62 kB / 1.295 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.3802, allocations: 322.3 kB / 1.295 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.3827, allocations: 2.155 MB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.3831, allocations: 154.7 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.3833, allocations: 104.8 kB / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3833, allocations: 0 / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3834, allocations: 34.56 kB / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 9.71e-07/0.3834, allocations: 4 kB / 1.298 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0005861/0.384, allocations: 228.1 kB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.384, allocations: 51.5 kB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.3843, allocations: 273.8 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3843, allocations: 25.7 kB / 1.298 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.3845, allocations: 208.3 kB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3846, allocations: 55.58 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.3847, allocations: 49.91 kB / 1.298 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3849, allocations: 334.8 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.385, allocations: 60.44 kB / 1.299 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3851, allocations: 148.7 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.3854, allocations: 218.9 kB / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3854, allocations: 0 / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004338/0.3859, allocations: 268.3 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3859, allocations: 4 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3859, allocations: 4 kB / 1.299 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.386, allocations: 21.22 kB / 1.299 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.3862, allocations: 55.92 kB / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3874, allocations: 1.326 MB / 1.301 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.3876, allocations: 27.86 kB / 1.301 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.3876, allocations: 16 kB / 1.301 GB, free: 10.02 MB / 0.9981 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.0001838/0.3878, allocations: 169.6 kB / 1.301 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.3879, allocations: 23.86 kB / 1.301 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.3879, allocations: 25.86 kB / 1.301 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3879, allocations: 8 kB / 1.301 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3879, allocations: 0 / 1.301 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3879, allocations: 0 / 1.301 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009604/0.3889, allocations: 0.6743 MB / 1.302 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3889, allocations: 3.938 kB / 1.302 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/0.389, allocations: 27.92 kB / 1.302 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.238e-05/0.3891, allocations: 28.78 kB / 1.302 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3891, allocations: 4 kB / 1.302 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.3902, allocations: 1.311 MB / 1.303 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3902, allocations: 0 / 1.303 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.3905, allocations: 313.4 kB / 1.303 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.3906, allocations: 43.77 kB / 1.303 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.3907, allocations: 12 kB / 1.303 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3908, allocations: 8.094 kB / 1.303 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.3909, allocations: 27.78 kB / 1.303 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3909, allocations: 4 kB / 1.303 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001895/0.3911, allocations: 185.2 kB / 1.304 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3911, allocations: 4 kB / 1.304 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004926/0.3916, allocations: 79.84 kB / 1.304 GB, free: 6.84 MB / 0.9981 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.0001279/0.3917, allocations: 107.2 kB / 1.304 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.3922, allocations: 269.8 kB / 1.304 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3922, allocations: 4 kB / 1.304 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.3925, allocations: 182.7 kB / 1.304 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.3929, allocations: 53.39 kB / 1.304 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3939, allocations: 0.6003 MB / 1.305 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.3944, allocations: 0.7909 MB / 1.306 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.3945, allocations: 19.44 kB / 1.306 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3945, allocations: 0 / 1.306 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of Templates: time 0.007367/0.4019, allocations: 4.43 MB / 1.31 GB, free: 312 kB / 0.9981 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/jenkins1/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: 12.407173170999158]