Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001994/0.001994, allocations: 76.23 kB / 19.18 MB, free: 2.516 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.002515/0.002515, allocations: 162.3 kB / 22.46 MB, free: 5.371 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.631/1.631, allocations: 177.1 MB / 202.8 MB, free: 9.156 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.977/2.977, allocations: 377.8 MB / 0.6221 GB, free: 12.55 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.364e-05, allocations: 5.375 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006684/0.006718, allocations: 3.751 MB / 0.9851 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.01011, allocations: 1.69 MB / 0.9867 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.0103, allocations: 7.938 kB / 0.9867 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.0119, allocations: 0.4902 MB / 0.9872 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005833/0.01249, allocations: 234.5 kB / 0.9874 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.01307, allocations: 226.3 kB / 0.9876 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000637/0.01371, allocations: 486.2 kB / 0.9881 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006167/0.01433, allocations: 289.4 kB / 0.9884 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.0147, allocations: 271.4 kB / 0.9886 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.01518, allocations: 203.4 kB / 0.9888 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.01524, allocations: 28 kB / 0.9889 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.01568, allocations: 219.3 kB / 0.9891 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.01584, allocations: 135.6 kB / 0.9892 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.01602, allocations: 123.7 kB / 0.9893 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.01682, allocations: 0.5141 MB / 0.9898 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.01683, allocations: 4 kB / 0.9898 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01683, allocations: 0 / 0.9898 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.01683, allocations: 0 / 0.9898 GB, free: 3.301 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.001161/0.018, allocations: 0.5596 MB / 0.9904 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01804, allocations: 8.031 kB / 0.9904 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/0.01902, allocations: 136.6 kB / 0.9905 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.01951, allocations: 237.7 kB / 0.9907 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.01955, allocations: 21.03 kB / 0.9908 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.0196, allocations: 28.38 kB / 0.9908 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.02049, allocations: 0.5786 MB / 0.9913 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.0205, allocations: 4.188 kB / 0.9914 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.02055, allocations: 12.38 kB / 0.9914 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.02061, allocations: 36.58 kB / 0.9914 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.02117, allocations: 318.3 kB / 0.9917 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.02339, allocations: 1.509 MB / 0.9932 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.02381, allocations: 162.7 kB / 0.9933 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.02411, allocations: 96.8 kB / 0.9934 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.02413, allocations: 3.984 kB / 0.9934 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.02417, allocations: 38.5 kB / 0.9935 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.02417, allocations: 3.938 kB / 0.9935 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0006936/0.02487, allocations: 230.5 kB / 0.9937 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.02493, allocations: 55.41 kB / 0.9937 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.0253, allocations: 224 kB / 0.994 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.02534, allocations: 29.7 kB / 0.994 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.02555, allocations: 212.2 kB / 0.9942 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.0256, allocations: 51.58 kB / 0.9942 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.0257, allocations: 49.89 kB / 0.9943 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002815/0.02598, allocations: 330.9 kB / 0.9946 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.02608, allocations: 60.38 kB / 0.9947 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.02635, allocations: 152 kB / 0.9948 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.02666, allocations: 218.9 kB / 0.995 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.02666, allocations: 4 kB / 0.995 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005216/0.02719, allocations: 256.7 kB / 0.9953 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.0272, allocations: 4 kB / 0.9953 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.02721, allocations: 4.375 kB / 0.9953 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.0274, allocations: 32.84 kB / 0.9953 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.02759, allocations: 51.91 kB / 0.9953 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.02896, allocations: 1.288 MB / 0.9966 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.02912, allocations: 27.78 kB / 0.9966 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.02913, allocations: 12.16 kB / 0.9966 GB, free: 11.86 MB / 0.9512 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.0002109/0.02934, allocations: 173.7 kB / 0.9968 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.0294, allocations: 23.86 kB / 0.9968 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.02945, allocations: 25.45 kB / 0.9969 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02945, allocations: 3.938 kB / 0.9969 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.02946, allocations: 4 kB / 0.9969 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02946, allocations: 0 / 0.9969 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.03037, allocations: 0.5545 MB / 0.9974 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.03038, allocations: 4 kB / 0.9974 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.03047, allocations: 23.92 kB / 0.9974 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.982e-05/0.03056, allocations: 24.91 kB / 0.9975 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.03058, allocations: 8 kB / 0.9975 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.03202, allocations: 1.296 MB / 0.9987 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.03202, allocations: 0 / 0.9987 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.03243, allocations: 313.2 kB / 0.999 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/0.0325, allocations: 39.72 kB / 0.9991 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.03253, allocations: 8 kB / 0.9991 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.03269, allocations: 8 kB / 0.9991 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.03273, allocations: 19.91 kB / 0.9991 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.03274, allocations: 12.09 kB / 0.9991 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001693/0.03291, allocations: 157.6 kB / 0.9993 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03291, allocations: 0 / 0.9993 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004088/0.03331, allocations: 83.84 kB / 0.9993 GB, free: 8.875 MB / 0.9512 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.0001628/0.03348, allocations: 103.3 kB / 0.9994 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.03398, allocations: 266.8 kB / 0.9997 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.03399, allocations: 4 kB / 0.9997 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.03425, allocations: 174.5 kB / 0.9999 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.03473, allocations: 64.55 kB / 0.9999 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.03587, allocations: 0.5267 MB / 1 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.0361, allocations: 182.1 kB / 1.001 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.03622, allocations: 37.92 kB / 1.001 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.03628, allocations: 20.5 kB / 1.001 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/0.03628, allocations: 0 / 1.001 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of Templates: time 0.007443/0.04372, allocations: 2.424 MB / 1.003 GB, free: 5.07 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.922343209385872]