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.001572/0.001572, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001956/0.001956, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.797 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.95/2.95, allocations: 475.9 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] 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.002312/0.002312, allocations: 70.72 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.484, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.008014/0.492, allocations: 3.799 MB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.4961, allocations: 1.702 MB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.4965, allocations: 7.938 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.4984, allocations: 498.1 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009477/0.4994, allocations: 230.8 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008617/0.5002, allocations: 212.4 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.5012, allocations: 470.5 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008089/0.502, allocations: 285.4 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005299/0.5026, allocations: 207.3 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007804/0.5033, allocations: 211.2 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.5034, allocations: 32 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006897/0.5041, allocations: 219.5 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.5044, allocations: 127.6 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.5046, allocations: 147.3 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.5057, allocations: 0.5098 MB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5057, allocations: 0 / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5057, allocations: 0 / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.939e-05/0.5058, allocations: 8 kB / 1.291 GB, free: 3.387 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.001638/0.5074, allocations: 0.5557 MB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5074, allocations: 8.031 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.5086, allocations: 144.6 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.5092, allocations: 229.9 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.5092, allocations: 25.02 kB / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.5093, allocations: 24.38 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.5103, allocations: 0.5823 MB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5103, allocations: 7.938 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.5103, allocations: 12 kB / 1.293 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.5104, allocations: 28.64 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006166/0.511, allocations: 326.2 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.5136, allocations: 1.513 MB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.514, allocations: 166.6 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.5143, allocations: 96.78 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.5143, allocations: 4 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5143, allocations: 34.56 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.5143, allocations: 0 / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0007051/0.515, allocations: 227.8 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.5151, allocations: 55.41 kB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.5154, allocations: 232 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.5154, allocations: 29.7 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.5157, allocations: 212.2 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.5157, allocations: 51.58 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.5158, allocations: 45.95 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.516, allocations: 334.8 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.5161, allocations: 56.44 kB / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.5163, allocations: 148.7 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.5166, allocations: 218.9 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5166, allocations: 4 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004789/0.5171, allocations: 254.2 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.5171, allocations: 11.98 kB / 1.297 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.5172, allocations: 8 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.5174, allocations: 29.22 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.5176, allocations: 47.92 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.519, allocations: 1.292 MB / 1.298 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.5192, allocations: 27.78 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.5192, allocations: 8 kB / 1.298 GB, free: 11.95 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.0002381/0.5195, allocations: 169.9 kB / 1.298 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.5195, allocations: 19.84 kB / 1.298 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.5196, allocations: 33.39 kB / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5196, allocations: 0 / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5196, allocations: 0 / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5196, allocations: 0 / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.5206, allocations: 0.5661 MB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5206, allocations: 4.188 kB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/0.5207, allocations: 27.88 kB / 1.299 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.845e-05/0.5208, allocations: 24.84 kB / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.5208, allocations: 4 kB / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.5221, allocations: 1.292 MB / 1.3 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5221, allocations: 8.188 kB / 1.3 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.5225, allocations: 311.6 kB / 1.301 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.5226, allocations: 35.84 kB / 1.301 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.5226, allocations: 4 kB / 1.301 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.5228, allocations: 15.98 kB / 1.301 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.5228, allocations: 7.984 kB / 1.301 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.5228, allocations: 11.94 kB / 1.301 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001828/0.523, allocations: 165.5 kB / 1.301 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.523, allocations: 4 kB / 1.301 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004638/0.5235, allocations: 83.78 kB / 1.301 GB, free: 8.957 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.0001513/0.5236, allocations: 99.78 kB / 1.301 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.5242, allocations: 263 kB / 1.301 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5242, allocations: 0 / 1.301 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.5244, allocations: 190.6 kB / 1.301 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.5249, allocations: 58.62 kB / 1.302 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.5261, allocations: 0.544 MB / 1.302 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.5263, allocations: 186.1 kB / 1.302 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.5265, allocations: 37.92 kB / 1.302 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.5265, allocations: 15.44 kB / 1.302 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.5265, allocations: 4.281 kB / 1.302 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of Templates: time 0.007959/0.5345, allocations: 2.755 MB / 1.305 GB, free: 4.797 MB / 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/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: 10.157748132944107]