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.000817/0.000817, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008192/0.0008192, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8615/0.8615, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.753/1.753, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.392e-06/1.392e-06, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.954e-05, allocations: 9.453 kB / 1.001 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00345/0.003469, allocations: 3.754 MB / 1.005 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.005057, allocations: 1.69 MB / 1.006 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.005168, allocations: 11.94 kB / 1.006 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.005882, allocations: 497.7 kB / 1.007 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.00618, allocations: 238.5 kB / 1.007 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.006436, allocations: 215.3 kB / 1.007 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.006763, allocations: 482.2 kB / 1.008 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.007129, allocations: 301.3 kB / 1.008 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.007319, allocations: 275.3 kB / 1.008 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.007575, allocations: 195.5 kB / 1.008 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.007606, allocations: 28 kB / 1.008 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.007814, allocations: 227.3 kB / 1.009 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.007907, allocations: 135.6 kB / 1.009 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.00799, allocations: 119.7 kB / 1.009 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.008388, allocations: 0.5218 MB / 1.009 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00839, allocations: 0 / 1.009 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.112e-06/0.008391, allocations: 0 / 1.009 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.008396, allocations: 0 / 1.009 GB, free: 3.246 MB / 0.9167 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.000632/0.009028, allocations: 0.5596 MB / 1.01 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.009059, allocations: 8.75 kB / 1.01 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004649/0.009524, allocations: 144.6 kB / 1.01 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.009773, allocations: 233.2 kB / 1.01 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.009792, allocations: 21.03 kB / 1.01 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.009818, allocations: 24.38 kB / 1.01 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.01028, allocations: 0.5747 MB / 1.011 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.0103, allocations: 12.17 kB / 1.011 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.01032, allocations: 12.38 kB / 1.011 GB, free: 1.543 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.01035, allocations: 32.58 kB / 1.011 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.01067, allocations: 322.3 kB / 1.011 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.01191, allocations: 1.513 MB / 1.013 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.01214, allocations: 162.7 kB / 1.013 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.01229, allocations: 97.05 kB / 1.013 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.0123, allocations: 4 kB / 1.013 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.01231, allocations: 38.44 kB / 1.013 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01231, allocations: 4 kB / 1.013 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.0003576/0.01267, allocations: 214.4 kB / 1.013 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.0127, allocations: 51.41 kB / 1.013 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.01285, allocations: 232 kB / 1.013 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.01286, allocations: 29.7 kB / 1.013 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.01294, allocations: 220 kB / 1.014 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.01297, allocations: 43.62 kB / 1.014 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.01302, allocations: 53.89 kB / 1.014 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.01309, allocations: 326.8 kB / 1.014 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.01315, allocations: 64.38 kB / 1.014 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/0.01325, allocations: 144 kB / 1.014 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.01342, allocations: 222.9 kB / 1.014 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01343, allocations: 0 / 1.014 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002623/0.01369, allocations: 264 kB / 1.015 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.0137, allocations: 8 kB / 1.015 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01371, allocations: 4.375 kB / 1.015 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.01383, allocations: 28.78 kB / 1.015 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01393, allocations: 47.98 kB / 1.015 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000638/0.01457, allocations: 1.292 MB / 1.016 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.01465, allocations: 23.78 kB / 1.016 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.01466, allocations: 16.16 kB / 1.016 GB, free: 11.8 MB / 0.9323 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.0001067/0.01477, allocations: 165.8 kB / 1.016 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.0148, allocations: 19.86 kB / 1.016 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.01482, allocations: 25.47 kB / 1.016 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01482, allocations: 3.938 kB / 1.016 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01482, allocations: 64 / 1.016 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01482, allocations: 7.984 kB / 1.016 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.01531, allocations: 0.5621 MB / 1.017 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01531, allocations: 0 / 1.017 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.01536, allocations: 23.94 kB / 1.017 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-05/0.01541, allocations: 28.83 kB / 1.017 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01542, allocations: 4.188 kB / 1.017 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006717/0.01609, allocations: 1.292 MB / 1.018 GB, free: 9.504 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01609, allocations: 7.969 kB / 1.018 GB, free: 9.496 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.01628, allocations: 305.2 kB / 1.018 GB, free: 9.16 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.01633, allocations: 43.77 kB / 1.019 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.01634, allocations: 4 kB / 1.019 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.01643, allocations: 11.98 kB / 1.019 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.01645, allocations: 15.92 kB / 1.019 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.01645, allocations: 12.09 kB / 1.019 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.766e-05/0.01654, allocations: 157.8 kB / 1.019 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.01654, allocations: 0 / 1.019 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002438/0.01678, allocations: 83.78 kB / 1.019 GB, free: 8.84 MB / 0.9323 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 7.51e-05/0.01686, allocations: 101.5 kB / 1.019 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.01715, allocations: 270.9 kB / 1.019 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01715, allocations: 0 / 1.019 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.01726, allocations: 178.5 kB / 1.019 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01755, allocations: 58.86 kB / 1.019 GB, free: 8.219 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.01812, allocations: 0.5683 MB / 1.02 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.01823, allocations: 182.1 kB / 1.02 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.01827, allocations: 20.5 kB / 1.02 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of SimCode: time 3.81e-07/0.01827, allocations: 0 / 1.02 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of Templates: time 0.003764/0.02203, allocations: 4.354 MB / 1.024 GB, free: 3.035 MB / 0.9323 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: 7.169330118224025]