Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001911/0.001911, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.001714/0.001714, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.568/1.568, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.021/3.021, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.391e-05, allocations: 2.281 kB / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006165/0.006199, allocations: 3.751 MB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003263/0.009462, allocations: 1.69 MB / 1.005 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.00964, allocations: 11.94 kB / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.01117, allocations: 489.9 kB / 1.006 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006104/0.01178, allocations: 242.5 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.01239, allocations: 217.1 kB / 1.006 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.01297, allocations: 478.3 kB / 1.007 GB, free: 468 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005633/0.01354, allocations: 293.3 kB / 1.007 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.01391, allocations: 291.2 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/0.01435, allocations: 187.5 kB / 1.008 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.01441, allocations: 28 kB / 1.008 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.01489, allocations: 231.3 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.01507, allocations: 135.6 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.01523, allocations: 111.8 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007188/0.01595, allocations: 0.5179 MB / 1.009 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.01595, allocations: 0 / 1.009 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/0.01595, allocations: 0 / 1.009 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.01597, allocations: 0 / 1.009 GB, free: 14.69 MB / 0.9669 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.001202/0.01717, allocations: 0.5674 MB / 1.009 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.01722, allocations: 8.031 kB / 1.009 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009392/0.01815, allocations: 136.6 kB / 1.009 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.01859, allocations: 245.6 kB / 1.009 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.01862, allocations: 21.03 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.01868, allocations: 32.3 kB / 1.009 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.01947, allocations: 0.5748 MB / 1.01 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01949, allocations: 4.188 kB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.01953, allocations: 16.38 kB / 1.01 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/0.01958, allocations: 28.58 kB / 1.01 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.02009, allocations: 326.2 kB / 1.01 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.02237, allocations: 1.513 MB / 1.012 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.02277, allocations: 166.7 kB / 1.012 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.02304, allocations: 100.8 kB / 1.012 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.02305, allocations: 0 / 1.012 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.0231, allocations: 42.56 kB / 1.012 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.0231, allocations: 0 / 1.012 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0006553/0.02376, allocations: 220.4 kB / 1.012 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.0238, allocations: 51.41 kB / 1.012 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.0241, allocations: 240 kB / 1.013 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.02413, allocations: 29.7 kB / 1.013 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.0243, allocations: 212.2 kB / 1.013 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.02435, allocations: 43.64 kB / 1.013 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.674e-05/0.02444, allocations: 49.89 kB / 1.013 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.02462, allocations: 326.8 kB / 1.013 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.02473, allocations: 60.44 kB / 1.013 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.02493, allocations: 136.1 kB / 1.013 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.02524, allocations: 226.1 kB / 1.014 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.02525, allocations: 0 / 1.014 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004533/0.0257, allocations: 270 kB / 1.014 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.02573, allocations: 10.34 kB / 1.014 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.02574, allocations: 4 kB / 1.014 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.02593, allocations: 20.84 kB / 1.014 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.02613, allocations: 52.3 kB / 1.014 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.02747, allocations: 1.299 MB / 1.015 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.02763, allocations: 23.83 kB / 1.015 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.02765, allocations: 12 kB / 1.015 GB, free: 7.223 MB / 0.9669 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.0001913/0.02784, allocations: 165.7 kB / 1.016 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.02791, allocations: 19.86 kB / 1.016 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.02797, allocations: 33.61 kB / 1.016 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.02797, allocations: 4.031 kB / 1.016 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.02798, allocations: 3.938 kB / 1.016 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.02798, allocations: 0 / 1.016 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009081/0.02889, allocations: 0.5622 MB / 1.016 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02889, allocations: 0 / 1.016 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.02899, allocations: 23.98 kB / 1.016 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-05/0.02908, allocations: 29.03 kB / 1.016 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.02909, allocations: 4 kB / 1.016 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.03016, allocations: 1.292 MB / 1.017 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.03017, allocations: 7.969 kB / 1.017 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.03055, allocations: 305.5 kB / 1.018 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.03063, allocations: 43.72 kB / 1.018 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.03066, allocations: 7.984 kB / 1.018 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.03081, allocations: 12 kB / 1.018 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.03085, allocations: 7.984 kB / 1.018 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.03086, allocations: 8 kB / 1.018 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001747/0.03103, allocations: 157.8 kB / 1.018 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.03103, allocations: 0 / 1.018 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004131/0.03145, allocations: 79.84 kB / 1.018 GB, free: 4.266 MB / 0.9669 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.000165/0.03161, allocations: 111.1 kB / 1.018 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005454/0.03216, allocations: 265.1 kB / 1.018 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.03216, allocations: 0 / 1.018 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.03239, allocations: 175.7 kB / 1.019 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.03288, allocations: 56.56 kB / 1.019 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.03384, allocations: 0.5316 MB / 1.019 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.03405, allocations: 190 kB / 1.019 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.03417, allocations: 37.92 kB / 1.019 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.03422, allocations: 16.5 kB / 1.019 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.03422, allocations: 0 / 1.019 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of Templates: time 0.007176/0.0414, allocations: 2.438 MB / 1.022 GB, free: 428 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.193623349070549]