Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001845/0.001845, allocations: 78.72 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.001591/0.001591, allocations: 168.7 kB / 22.46 MB, free: 5.363 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.966/2.966, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.271e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005676/0.005708, allocations: 3.029 MB / 0.9844 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.008471, allocations: 1.313 MB / 0.9857 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.008619, allocations: 7.938 kB / 0.9857 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.00984, allocations: 334.6 kB / 0.986 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.01024, allocations: 155.2 kB / 0.9861 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.01061, allocations: 139.4 kB / 0.9863 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.01106, allocations: 310.9 kB / 0.9866 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.01152, allocations: 188.6 kB / 0.9867 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.01178, allocations: 171.6 kB / 0.9869 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.01215, allocations: 123.6 kB / 0.987 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.01219, allocations: 23.94 kB / 0.987 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.01251, allocations: 151.6 kB / 0.9872 GB, free: 5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.01264, allocations: 87.72 kB / 0.9873 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.01277, allocations: 79.83 kB / 0.9873 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.01333, allocations: 346.9 kB / 0.9877 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01334, allocations: 3.938 kB / 0.9877 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01334, allocations: 4 kB / 0.9877 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.01335, allocations: 0 / 0.9877 GB, free: 4.488 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009551/0.0143, allocations: 449.5 kB / 0.9881 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.01435, allocations: 12.03 kB / 0.9881 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.01498, allocations: 76.72 kB / 0.9882 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.01532, allocations: 185.4 kB / 0.9884 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.01534, allocations: 12.75 kB / 0.9884 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.01538, allocations: 24.31 kB / 0.9884 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.01598, allocations: 373.3 kB / 0.9888 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.01599, allocations: 4.188 kB / 0.9888 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.01601, allocations: 4.375 kB / 0.9888 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.01607, allocations: 32.23 kB / 0.9888 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.01641, allocations: 189 kB / 0.989 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.01791, allocations: 0.989 MB / 0.9899 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.01819, allocations: 94.59 kB / 0.99 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.033e-05/0.01826, allocations: 36.84 kB / 0.9901 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.01827, allocations: 0 / 0.9901 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.01831, allocations: 34.5 kB / 0.9901 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.01831, allocations: 0 / 0.9901 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0005372/0.01885, allocations: 142.4 kB / 0.9902 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.0189, allocations: 55.39 kB / 0.9903 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.01913, allocations: 190.8 kB / 0.9905 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.01916, allocations: 33.7 kB / 0.9905 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.0193, allocations: 175.9 kB / 0.9907 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.01933, allocations: 27.78 kB / 0.9907 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.0194, allocations: 33.67 kB / 0.9907 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.01957, allocations: 322.8 kB / 0.991 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.01967, allocations: 31.98 kB / 0.9911 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.0198, allocations: 104.5 kB / 0.9912 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.02002, allocations: 160.5 kB / 0.9913 GB, free: 476 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.02002, allocations: 0 / 0.9913 GB, free: 476 kB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003391/0.02036, allocations: 186.1 kB / 0.9915 GB, free: 280 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.02038, allocations: 8.281 kB / 0.9915 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.02039, allocations: 4.312 kB / 0.9915 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.02057, allocations: 24.84 kB / 0.9915 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.02069, allocations: 31.92 kB / 0.9916 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.02204, allocations: 1.288 MB / 0.9928 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.02216, allocations: 20.05 kB / 0.9928 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.02218, allocations: 8 kB / 0.9929 GB, free: 14.78 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001646/0.02234, allocations: 145.8 kB / 0.993 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.02238, allocations: 15.89 kB / 0.993 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.02241, allocations: 17.47 kB / 0.993 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02242, allocations: 3.938 kB / 0.993 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.02242, allocations: 4 kB / 0.993 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02243, allocations: 0 / 0.993 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.02296, allocations: 370.8 kB / 0.9934 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.02296, allocations: 4 kB / 0.9934 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.023, allocations: 8.047 kB / 0.9934 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.96e-05/0.02308, allocations: 20.83 kB / 0.9934 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.02309, allocations: 4.062 kB / 0.9934 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.02427, allocations: 1.28 MB / 0.9947 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.02428, allocations: 8.141 kB / 0.9947 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.02454, allocations: 212.2 kB / 0.9949 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.02459, allocations: 19.89 kB / 0.9949 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.02461, allocations: 7.938 kB / 0.9949 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.02472, allocations: 3.938 kB / 0.9949 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.02474, allocations: 11.98 kB / 0.9949 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.02475, allocations: 4 kB / 0.9949 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000127/0.02488, allocations: 128.3 kB / 0.995 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6e-08/0.02488, allocations: 0 / 0.995 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003657/0.02525, allocations: 51.89 kB / 0.9951 GB, free: 12.32 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001402/0.02539, allocations: 103.3 kB / 0.9952 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.0258, allocations: 202.5 kB / 0.9954 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.02581, allocations: 0 / 0.9954 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.026, allocations: 150.6 kB / 0.9955 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.02638, allocations: 28.77 kB / 0.9956 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.02707, allocations: 354.1 kB / 0.9959 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.02723, allocations: 135.9 kB / 0.996 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.953e-05/0.02733, allocations: 25.47 kB / 0.9961 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.02737, allocations: 12.5 kB / 0.9961 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.02737, allocations: 4 kB / 0.9961 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.005706/0.03308, allocations: 1.662 MB / 0.9977 GB, free: 9.625 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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: 8.726474434137344]