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.0009676/0.0009676, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001031/0.001031, allocations: 160.8 kB / 24.86 MB, free: 8.891 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.9463/0.9463, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.502e-05, allocations: 3.844 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003031/0.003046, allocations: 2.962 MB / 0.7912 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.004302, allocations: 1.12 MB / 0.7923 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.004413, allocations: 11.94 kB / 0.7923 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.004779, allocations: 111.3 kB / 0.7924 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.005024, allocations: 205 kB / 0.7926 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.005229, allocations: 156.8 kB / 0.7927 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.005581, allocations: 0.4904 MB / 0.7932 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.00592, allocations: 290.2 kB / 0.7935 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.006125, allocations: 272.5 kB / 0.7937 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.0064, allocations: 203.5 kB / 0.7939 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.006444, allocations: 29.38 kB / 0.794 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.006596, allocations: 95.8 kB / 0.7941 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.006688, allocations: 135.6 kB / 0.7942 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.006777, allocations: 123.7 kB / 0.7943 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.007057, allocations: 328.7 kB / 0.7946 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.007059, allocations: 0 / 0.7946 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00706, allocations: 0 / 0.7946 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.007064, allocations: 4 kB / 0.7946 GB, free: 5.75 MB / 0.7448 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.0005418/0.007606, allocations: 0.6493 MB / 0.7953 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.37e-05/0.00763, allocations: 8.031 kB / 0.7953 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004801/0.00811, allocations: 174.9 kB / 0.7954 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.008314, allocations: 234.6 kB / 0.7957 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.008329, allocations: 21.03 kB / 0.7957 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.008358, allocations: 32.36 kB / 0.7957 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.008672, allocations: 440.9 kB / 0.7961 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.008684, allocations: 8.109 kB / 0.7961 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.008706, allocations: 16.91 kB / 0.7961 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.008739, allocations: 29.3 kB / 0.7962 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.008867, allocations: 113.8 kB / 0.7963 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.0099, allocations: 1.861 MB / 0.7981 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.01005, allocations: 107.2 kB / 0.7982 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.01013, allocations: 60.77 kB / 0.7983 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.01014, allocations: 4 kB / 0.7983 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.01016, allocations: 41.38 kB / 0.7983 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.01016, allocations: 1.938 kB / 0.7983 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002372/0.0104, allocations: 145.3 kB / 0.7984 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.01042, allocations: 61.8 kB / 0.7985 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.01055, allocations: 270.5 kB / 0.7988 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.01057, allocations: 29.7 kB / 0.7988 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.01066, allocations: 262.9 kB / 0.799 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.01068, allocations: 47.58 kB / 0.7991 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.01073, allocations: 55.55 kB / 0.7991 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01084, allocations: 0.5001 MB / 0.7996 GB, free: 332 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.01087, allocations: 25.58 kB / 0.7997 GB, free: 308 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.01094, allocations: 153.4 kB / 0.7998 GB, free: 100 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.01108, allocations: 198.9 kB / 0.8 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01108, allocations: 0 / 0.8 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001843/0.01126, allocations: 191.5 kB / 0.8002 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01127, allocations: 11.22 kB / 0.8002 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01128, allocations: 0 / 0.8002 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.01141, allocations: 39.59 kB / 0.8002 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.0115, allocations: 51.92 kB / 0.8003 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000693/0.0122, allocations: 1.72 MB / 0.802 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.01227, allocations: 27.78 kB / 0.802 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.01228, allocations: 5.125 kB / 0.802 GB, free: 13.7 MB / 0.7605 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 8.96e-05/0.01237, allocations: 180.4 kB / 0.8022 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.0124, allocations: 24.36 kB / 0.8022 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.01242, allocations: 25.47 kB / 0.8022 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.01243, allocations: 4 kB / 0.8022 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01243, allocations: 0 / 0.8022 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01243, allocations: 7.922 kB / 0.8022 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.01286, allocations: 0.5495 MB / 0.8027 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01286, allocations: 7.922 kB / 0.8028 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.0129, allocations: 20 kB / 0.8028 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-05/0.01298, allocations: 35.84 kB / 0.8028 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.01299, allocations: 8 kB / 0.8028 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005941/0.01359, allocations: 1.717 MB / 0.8045 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01359, allocations: 4 kB / 0.8045 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.01376, allocations: 333.4 kB / 0.8048 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.0138, allocations: 35.78 kB / 0.8049 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.01382, allocations: 4 kB / 0.8049 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.01389, allocations: 15.94 kB / 0.8049 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.01391, allocations: 15.91 kB / 0.8049 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.01392, allocations: 4 kB / 0.8049 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.232e-05/0.01399, allocations: 189.5 kB / 0.8051 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01399, allocations: 0 / 0.8051 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002258/0.01421, allocations: 79.84 kB / 0.8051 GB, free: 10.2 MB / 0.7605 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.386e-05/0.01429, allocations: 111.1 kB / 0.8053 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.01452, allocations: 275.9 kB / 0.8055 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01452, allocations: 8.062 kB / 0.8055 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.01462, allocations: 213.6 kB / 0.8057 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01488, allocations: 52.81 kB / 0.8058 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.01555, allocations: 0.5401 MB / 0.8063 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.2e-05/0.01562, allocations: 108.3 kB / 0.8064 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.273e-05/0.01568, allocations: 25.92 kB / 0.8064 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.01578, allocations: 118.2 kB / 0.8065 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of SimCode: time 5.41e-07/0.01578, allocations: 4 kB / 0.8065 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of Templates: time 0.004033/0.01982, allocations: 2.684 MB / 0.8092 GB, free: 6.02 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.826644926797599]