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.001576/0.001576, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001993/0.001993, allocations: 216 kB / 22.99 MB, free: 4.945 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.897/2.897, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.39 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006337/0.3077, allocations: 3.788 MB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.3108, allocations: 1.695 MB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.311, allocations: 11.94 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.3125, allocations: 0.4921 MB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005707/0.313, allocations: 234.9 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.3136, allocations: 204.8 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.3141, allocations: 478.4 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.3147, allocations: 281.4 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.3149, allocations: 203.3 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.3154, allocations: 227.1 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.886e-05/0.3154, allocations: 28 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.3158, allocations: 211.5 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.3159, allocations: 131.6 kB / 1.292 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.3161, allocations: 143.4 kB / 1.292 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.3167, allocations: 0.5098 MB / 1.292 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3167, allocations: 0 / 1.292 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3167, allocations: 4 kB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3167, allocations: 0 / 1.292 GB, free: 3.379 MB / 0.9825 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.001034/0.3178, allocations: 0.5674 MB / 1.293 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3178, allocations: 8.031 kB / 1.293 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009022/0.3187, allocations: 136.6 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.3192, allocations: 237.9 kB / 1.293 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.3192, allocations: 21.03 kB / 1.293 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.3192, allocations: 24.38 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.32, allocations: 0.5862 MB / 1.294 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.32, allocations: 3.938 kB / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.32, allocations: 12 kB / 1.294 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/0.3201, allocations: 28.64 kB / 1.294 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.3206, allocations: 322.3 kB / 1.294 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.3225, allocations: 1.513 MB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.3229, allocations: 166.5 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.3231, allocations: 100.8 kB / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.3231, allocations: 0 / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3232, allocations: 30.56 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3232, allocations: 4 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0005567/0.3237, allocations: 227.2 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3238, allocations: 51.41 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.324, allocations: 232 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.324, allocations: 33.7 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3242, allocations: 216.1 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.3242, allocations: 55.56 kB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.3243, allocations: 41.95 kB / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3244, allocations: 334.8 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.3245, allocations: 60.44 kB / 1.297 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.3247, allocations: 144.7 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.325, allocations: 225.3 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.325, allocations: 0 / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004336/0.3254, allocations: 266 kB / 1.298 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3254, allocations: 8 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3254, allocations: 4 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.3256, allocations: 20.84 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.3258, allocations: 51.92 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.3269, allocations: 1.296 MB / 1.299 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3271, allocations: 27.78 kB / 1.299 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3271, allocations: 11.98 kB / 1.299 GB, free: 11.92 MB / 0.9981 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.0001728/0.3273, allocations: 164 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.3273, allocations: 23.83 kB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.3274, allocations: 25.47 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3274, allocations: 4.156 kB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3274, allocations: 3.938 kB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3274, allocations: 3.984 kB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008639/0.3283, allocations: 0.5544 MB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3283, allocations: 4.25 kB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/0.3284, allocations: 27.94 kB / 1.3 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-05/0.3284, allocations: 28.97 kB / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3285, allocations: 8 kB / 1.3 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.3295, allocations: 1.284 MB / 1.301 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3295, allocations: 4.031 kB / 1.301 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.3298, allocations: 311.8 kB / 1.301 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.3299, allocations: 35.84 kB / 1.301 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.33, allocations: 11.98 kB / 1.301 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.3301, allocations: 11.98 kB / 1.301 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.3301, allocations: 11.98 kB / 1.301 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3302, allocations: 7.938 kB / 1.301 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001536/0.3303, allocations: 165.6 kB / 1.302 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3303, allocations: 3.938 kB / 1.302 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004138/0.3307, allocations: 83.78 kB / 1.302 GB, free: 8.945 MB / 0.9981 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.0001172/0.3308, allocations: 99.78 kB / 1.302 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004676/0.3313, allocations: 266.4 kB / 1.302 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3313, allocations: 3.938 kB / 1.302 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.3315, allocations: 191.6 kB / 1.302 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.332, allocations: 52.03 kB / 1.302 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.3329, allocations: 0.5828 MB / 1.303 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.3331, allocations: 186.1 kB / 1.303 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.3331, allocations: 23.44 kB / 1.303 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.3331, allocations: 0 / 1.303 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of Templates: time 0.006778/0.3399, allocations: 4.354 MB / 1.307 GB, free: 3.117 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.036277245730162]