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.001738/0.001738, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002028/0.002028, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.851/2.851, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002229/0.002229, allocations: 67.89 kB / 1.061 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9573/0.9595, allocations: 160.8 MB / 1.218 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006819/0.9664, allocations: 3.976 MB / 1.222 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004053/0.9704, allocations: 1.797 MB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/0.9709, allocations: 10.5 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.9727, allocations: 0.5066 MB / 1.225 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008335/0.9735, allocations: 236.2 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/0.9743, allocations: 202 kB / 1.225 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008573/0.9751, allocations: 474.6 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008987/0.976, allocations: 279 kB / 1.226 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.9765, allocations: 200.5 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.9773, allocations: 230 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.9775, allocations: 28.12 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007387/0.9782, allocations: 253.3 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.9784, allocations: 135 kB / 1.227 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.9788, allocations: 166.7 kB / 1.227 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.9798, allocations: 0.5033 MB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9798, allocations: 0 / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9798, allocations: 0 / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.9798, allocations: 4 kB / 1.227 GB, free: 13.34 MB / 0.9356 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.001558/0.9814, allocations: 0.645 MB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.9814, allocations: 9.969 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.9826, allocations: 137.7 kB / 1.228 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/0.9832, allocations: 297 kB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.9832, allocations: 23.42 kB / 1.228 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.9833, allocations: 26.62 kB / 1.228 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000883/0.9842, allocations: 470.8 kB / 1.229 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.9842, allocations: 1.125 kB / 1.229 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.9842, allocations: 11.34 kB / 1.229 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.9843, allocations: 31.02 kB / 1.229 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.9849, allocations: 321.4 kB / 1.229 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.9876, allocations: 2.182 MB / 1.231 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.9881, allocations: 238.2 kB / 1.231 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.9883, allocations: 100.7 kB / 1.232 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.9883, allocations: 0 / 1.232 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.9884, allocations: 38.56 kB / 1.232 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.9884, allocations: 0 / 1.232 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007633/0.9891, allocations: 307.1 kB / 1.232 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.9892, allocations: 55.34 kB / 1.232 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.9895, allocations: 265.9 kB / 1.232 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.9896, allocations: 33.8 kB / 1.232 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.9898, allocations: 220.1 kB / 1.232 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.9898, allocations: 43.64 kB / 1.232 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.9899, allocations: 49.89 kB / 1.233 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.9902, allocations: 338.8 kB / 1.233 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.9903, allocations: 56.44 kB / 1.233 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.9905, allocations: 145.5 kB / 1.233 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.9908, allocations: 214.9 kB / 1.233 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.9908, allocations: 8 kB / 1.233 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005004/0.9913, allocations: 266.7 kB / 1.233 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.9914, allocations: 8 kB / 1.234 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9914, allocations: 0 / 1.234 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.9916, allocations: 33.22 kB / 1.234 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.9918, allocations: 51.97 kB / 1.234 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.9932, allocations: 1.418 MB / 1.235 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.9934, allocations: 27.78 kB / 1.235 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.9934, allocations: 12 kB / 1.235 GB, free: 5.637 MB / 0.9356 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.0002313/0.9937, allocations: 173.6 kB / 1.235 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.9937, allocations: 27.91 kB / 1.235 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.9938, allocations: 29.77 kB / 1.235 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9938, allocations: 4 kB / 1.235 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.9938, allocations: 0 / 1.235 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9938, allocations: 0 / 1.235 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.9949, allocations: 0.7025 MB / 1.236 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.9949, allocations: 0 / 1.236 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.9949, allocations: 27.98 kB / 1.236 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.527e-05/0.995, allocations: 24.78 kB / 1.236 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.995, allocations: 8 kB / 1.236 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.9963, allocations: 1.422 MB / 1.237 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9963, allocations: 160 / 1.237 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.9966, allocations: 315.1 kB / 1.238 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.9968, allocations: 132.8 kB / 1.238 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.9968, allocations: 4 kB / 1.238 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.997, allocations: 12 kB / 1.238 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.997, allocations: 23.84 kB / 1.238 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.9971, allocations: 4.094 kB / 1.238 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002136/0.9973, allocations: 189.2 kB / 1.238 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9973, allocations: 4 kB / 1.238 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004323/0.9977, allocations: 75.89 kB / 1.238 GB, free: 2.18 MB / 0.9356 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.0002028/0.9979, allocations: 107.2 kB / 1.238 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005048/0.9984, allocations: 263.1 kB / 1.238 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9984, allocations: 8.062 kB / 1.238 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.9987, allocations: 178.6 kB / 1.239 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.9992, allocations: 50.89 kB / 1.239 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/1, allocations: 0.562 MB / 1.239 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/1.001, allocations: 0.787 MB / 1.24 GB, free: 132 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001381/1.001, allocations: 42.27 kB / 1.24 GB, free: 92 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/1.001, allocations: 19.44 kB / 1.24 GB, free: 72 kB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/1.001, allocations: 0 / 1.24 GB, free: 72 kB / 0.9356 GB Notification: Performance of Templates: time 0.007457/1.008, allocations: 2.874 MB / 1.243 GB, free: 13.22 MB / 0.9513 GB " [Timeout remaining time 299] 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: 9.426084347069263]