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.001535/0.001535, allocations: 84.39 kB / 20.23 MB, free: 4.312 MB / 18.57 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.001809/0.001809, allocations: 165.7 kB / 23.55 MB, free: 1.004 MB / 18.57 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.477/1.477, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.761/2.761, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.957e-05, allocations: 11.3 kB / 0.7864 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006425/0.006454, allocations: 3.749 MB / 0.79 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003442/0.009896, allocations: 1.696 MB / 0.7917 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.01014, allocations: 7.938 kB / 0.7917 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.01179, allocations: 497.2 kB / 0.7922 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.01246, allocations: 244.1 kB / 0.7924 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.01309, allocations: 208.7 kB / 0.7926 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000772/0.01386, allocations: 490.2 kB / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.01447, allocations: 292.8 kB / 0.7933 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.01495, allocations: 275.4 kB / 0.7936 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.01543, allocations: 191.4 kB / 0.7938 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.01552, allocations: 28 kB / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.01603, allocations: 231.3 kB / 0.794 GB, free: 5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.0162, allocations: 135.6 kB / 0.7942 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.01641, allocations: 123.7 kB / 0.7943 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008788/0.01729, allocations: 0.5101 MB / 0.7948 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01729, allocations: 0.7188 kB / 0.7948 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01729, allocations: 0 / 0.7948 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.01731, allocations: 1.656 kB / 0.7948 GB, free: 4.234 MB / 0.7448 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.001321/0.01863, allocations: 0.5562 MB / 0.7953 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.01869, allocations: 13.31 kB / 0.7953 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.01985, allocations: 202 kB / 0.7955 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.02031, allocations: 234.7 kB / 0.7957 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.02035, allocations: 29.02 kB / 0.7958 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.02041, allocations: 28.38 kB / 0.7958 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008897/0.0213, allocations: 0.5797 MB / 0.7964 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.02131, allocations: 192 / 0.7964 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.02135, allocations: 12.38 kB / 0.7964 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/0.02141, allocations: 33.11 kB / 0.7964 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.022, allocations: 322.8 kB / 0.7967 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.02436, allocations: 1.529 MB / 0.7982 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.02476, allocations: 162.6 kB / 0.7984 GB, free: 380 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.02504, allocations: 97.64 kB / 0.7985 GB, free: 280 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.02506, allocations: 4 kB / 0.7985 GB, free: 276 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.02509, allocations: 35.03 kB / 0.7985 GB, free: 232 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.0251, allocations: 0 / 0.7985 GB, free: 232 kB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006735/0.02577, allocations: 224 kB / 0.7987 GB, free: 0 / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.02584, allocations: 56.22 kB / 0.7988 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.02616, allocations: 232 kB / 0.799 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.02622, allocations: 33.7 kB / 0.799 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.02639, allocations: 209.1 kB / 0.7992 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.02644, allocations: 55.53 kB / 0.7993 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.02655, allocations: 47.25 kB / 0.7993 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.02674, allocations: 330.8 kB / 0.7996 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.02685, allocations: 52.44 kB / 0.7997 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.02704, allocations: 145.2 kB / 0.7998 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.02744, allocations: 220.8 kB / 0.8 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.02744, allocations: 0 / 0.8 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005214/0.02796, allocations: 278.7 kB / 0.8003 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.02798, allocations: 8 kB / 0.8003 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.02799, allocations: 8.484 kB / 0.8003 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.02826, allocations: 39.3 kB / 0.8004 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.02847, allocations: 43.92 kB / 0.8004 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.02999, allocations: 1.297 MB / 0.8017 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.03017, allocations: 29.78 kB / 0.8017 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.03019, allocations: 8 kB / 0.8017 GB, free: 12.71 MB / 0.7605 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.000198/0.03039, allocations: 165.7 kB / 0.8019 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.03045, allocations: 31.2 kB / 0.8019 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.0305, allocations: 21.47 kB / 0.8019 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.03051, allocations: 11.92 kB / 0.8019 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.03051, allocations: 0 / 0.8019 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.03051, allocations: 0 / 0.8019 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.0315, allocations: 0.5592 MB / 0.8025 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.03151, allocations: 0 / 0.8025 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.03161, allocations: 28.98 kB / 0.8025 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.03179, allocations: 37.91 kB / 0.8025 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.0318, allocations: 1.062 kB / 0.8025 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.0331, allocations: 1.301 MB / 0.8038 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.03311, allocations: 4.906 kB / 0.8038 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.03353, allocations: 302.5 kB / 0.8041 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.03362, allocations: 39.72 kB / 0.8041 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.03365, allocations: 8 kB / 0.8041 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.03383, allocations: 13.33 kB / 0.8041 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.03386, allocations: 11.98 kB / 0.8042 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.03387, allocations: 4.906 kB / 0.8042 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001847/0.03406, allocations: 169.5 kB / 0.8043 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03406, allocations: 0 / 0.8043 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004396/0.0345, allocations: 80.66 kB / 0.8044 GB, free: 9.75 MB / 0.7605 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.0001387/0.03464, allocations: 103.2 kB / 0.8045 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005234/0.03516, allocations: 262.4 kB / 0.8048 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03516, allocations: 0 / 0.8048 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.03545, allocations: 191.6 kB / 0.8049 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.03592, allocations: 64.17 kB / 0.805 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.03721, allocations: 0.5276 MB / 0.8055 GB, free: 8.535 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.03745, allocations: 186.1 kB / 0.8057 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.03759, allocations: 41.91 kB / 0.8057 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.03765, allocations: 20.5 kB / 0.8057 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of SimCode: time 4.1e-07/0.03765, allocations: 0 / 0.8057 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of Templates: time 0.008336/0.04598, allocations: 2.456 MB / 0.8081 GB, free: 5.883 MB / 0.7605 GB " [Timeout remaining time 300] 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: 7.606480936985463]