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.001303/0.001303, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001551/0.001551, allocations: 181 kB / 24.09 MB, free: 412 kB / 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.9208/0.9208, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.713/1.713, allocations: 359 MB / 0.6055 GB, free: 10.86 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.532e-06/1.532e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.163e-05, allocations: 6.312 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003197/0.003219, allocations: 2.952 MB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.005054, allocations: 1.12 MB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.005197, allocations: 7.938 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.005623, allocations: 124.8 kB / 0.7916 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.005971, allocations: 200.1 kB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.006259, allocations: 160.5 kB / 0.792 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.006695, allocations: 495.7 kB / 0.7924 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.007059, allocations: 289.4 kB / 0.7927 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.007313, allocations: 275.4 kB / 0.793 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.00762, allocations: 200.5 kB / 0.7932 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.007659, allocations: 28 kB / 0.7932 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.007826, allocations: 99.73 kB / 0.7933 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.007933, allocations: 136.3 kB / 0.7934 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.008029, allocations: 130.2 kB / 0.7936 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.008374, allocations: 326.9 kB / 0.7939 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.008377, allocations: 0 / 0.7939 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.008378, allocations: 0 / 0.7939 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.008383, allocations: 0 / 0.7939 GB, free: 5.734 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.0005977/0.00898, allocations: 0.649 MB / 0.7945 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.009014, allocations: 12.02 kB / 0.7945 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004953/0.00951, allocations: 174.6 kB / 0.7947 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.009744, allocations: 233.3 kB / 0.7949 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.009759, allocations: 21.75 kB / 0.7949 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.009787, allocations: 28.38 kB / 0.7949 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.01012, allocations: 441.9 kB / 0.7954 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.01013, allocations: 192 / 0.7954 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.01015, allocations: 12.38 kB / 0.7954 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.01018, allocations: 37.95 kB / 0.7954 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.01031, allocations: 118.2 kB / 0.7955 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.01145, allocations: 1.865 MB / 0.7973 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.01161, allocations: 103.2 kB / 0.7974 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.0117, allocations: 67.73 kB / 0.7975 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.01171, allocations: 4 kB / 0.7975 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.01172, allocations: 37.39 kB / 0.7976 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.01173, allocations: 2.094 kB / 0.7976 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.000253/0.01198, allocations: 153.3 kB / 0.7977 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.012, allocations: 51.41 kB / 0.7977 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.01241, allocations: 276.8 kB / 0.798 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.01243, allocations: 33.7 kB / 0.798 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.01253, allocations: 254.9 kB / 0.7983 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.01255, allocations: 51.59 kB / 0.7983 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.01261, allocations: 59.52 kB / 0.7984 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.01271, allocations: 0.4962 MB / 0.7989 GB, free: 312 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.01274, allocations: 20.95 kB / 0.7989 GB, free: 292 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/0.01281, allocations: 146.1 kB / 0.799 GB, free: 92 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.01296, allocations: 188 kB / 0.7992 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01296, allocations: 64 / 0.7992 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002043/0.01316, allocations: 212.2 kB / 0.7994 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01318, allocations: 7.828 kB / 0.7994 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.01318, allocations: 4 kB / 0.7994 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.01331, allocations: 37.25 kB / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.0134, allocations: 43.92 kB / 0.7995 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007086/0.01411, allocations: 1.719 MB / 0.8012 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.0142, allocations: 27.77 kB / 0.8012 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.01421, allocations: 9.062 kB / 0.8012 GB, free: 13.68 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 9.141e-05/0.0143, allocations: 177.8 kB / 0.8014 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.01433, allocations: 27.86 kB / 0.8014 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.01435, allocations: 21.47 kB / 0.8014 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01436, allocations: 5.859 kB / 0.8014 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01436, allocations: 0 / 0.8014 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01436, allocations: 11.88 kB / 0.8015 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.01483, allocations: 0.5545 MB / 0.802 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01484, allocations: 1.094 kB / 0.802 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.01488, allocations: 23.94 kB / 0.802 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.019e-05/0.01497, allocations: 36.34 kB / 0.8021 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.01498, allocations: 8 kB / 0.8021 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000609/0.01559, allocations: 1.713 MB / 0.8037 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01559, allocations: 0 / 0.8037 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.01577, allocations: 337.5 kB / 0.8041 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.01581, allocations: 39.77 kB / 0.8041 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.01583, allocations: 8 kB / 0.8041 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.0159, allocations: 15.92 kB / 0.8041 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.01592, allocations: 11.98 kB / 0.8041 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.01593, allocations: 7.938 kB / 0.8041 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.521e-05/0.016, allocations: 185.5 kB / 0.8043 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.016, allocations: 0 / 0.8043 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002409/0.01624, allocations: 79.84 kB / 0.8044 GB, free: 10.19 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 8.83e-05/0.01633, allocations: 103.2 kB / 0.8045 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.01658, allocations: 270 kB / 0.8047 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01659, allocations: 0 / 0.8047 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.01698, allocations: 234.5 kB / 0.805 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.01725, allocations: 56.56 kB / 0.805 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.01798, allocations: 0.5371 MB / 0.8055 GB, free: 8.895 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.176e-05/0.01804, allocations: 108.3 kB / 0.8057 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.63e-05/0.0181, allocations: 17.95 kB / 0.8057 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.01821, allocations: 114.2 kB / 0.8058 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.01821, allocations: 0 / 0.8058 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of Templates: time 0.00428/0.02249, allocations: 2.652 MB / 0.8084 GB, free: 6.051 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.745135368779302]