Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009507/0.0009507, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009733/0.0009733, allocations: 173 kB / 23.36 MB, free: 1.129 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.9031/0.9031, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.453/2.453, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.23e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003089/0.003111, allocations: 2.553 MB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.004679, allocations: 1.016 MB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.00478, allocations: 11.94 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.005181, allocations: 91.45 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.005388, allocations: 135.2 kB / 0.8423 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.005549, allocations: 115.6 kB / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.005812, allocations: 310.9 kB / 0.8427 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.006093, allocations: 189.9 kB / 0.8429 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.006289, allocations: 175.6 kB / 0.843 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.006557, allocations: 119.7 kB / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.006593, allocations: 16 kB / 0.8432 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.006753, allocations: 91.72 kB / 0.8432 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.006855, allocations: 95.72 kB / 0.8433 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.006944, allocations: 75.83 kB / 0.8434 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.007248, allocations: 227.2 kB / 0.8436 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.00725, allocations: 0 / 0.8436 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.41e-07/0.007251, allocations: 0 / 0.8436 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.007256, allocations: 4 kB / 0.8436 GB, free: 9.066 MB / 0.8073 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.0006067/0.007862, allocations: 419.8 kB / 0.844 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.007896, allocations: 8.625 kB / 0.844 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005242/0.008421, allocations: 116.8 kB / 0.8441 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.008661, allocations: 181.4 kB / 0.8443 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.00868, allocations: 16.75 kB / 0.8443 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.008716, allocations: 20.31 kB / 0.8444 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.009039, allocations: 272.2 kB / 0.8446 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.009051, allocations: 192 / 0.8446 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.009075, allocations: 8.375 kB / 0.8446 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.009113, allocations: 24.3 kB / 0.8446 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.0092, allocations: 64.72 kB / 0.8447 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.00993, allocations: 0.8961 MB / 0.8456 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.01005, allocations: 49.39 kB / 0.8456 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.01007, allocations: 16.86 kB / 0.8456 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/0.01007, allocations: 0 / 0.8456 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.0101, allocations: 38.55 kB / 0.8457 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.0101, allocations: 0 / 0.8457 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002205/0.01032, allocations: 106.5 kB / 0.8458 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.01034, allocations: 55.41 kB / 0.8458 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.01044, allocations: 174.5 kB / 0.846 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.01045, allocations: 25.7 kB / 0.846 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.01052, allocations: 171.9 kB / 0.8462 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.01054, allocations: 27.78 kB / 0.8462 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.01058, allocations: 37.66 kB / 0.8462 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.01065, allocations: 322.8 kB / 0.8466 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.01067, allocations: 15.98 kB / 0.8466 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.01072, allocations: 84.5 kB / 0.8467 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.68e-05/0.0108, allocations: 103.2 kB / 0.8468 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.0108, allocations: 0 / 0.8468 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000134/0.01094, allocations: 134.1 kB / 0.8469 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.01095, allocations: 4 kB / 0.8469 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01095, allocations: 4 kB / 0.8469 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.0111, allocations: 33.11 kB / 0.8469 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.01116, allocations: 31.94 kB / 0.8469 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005946/0.01175, allocations: 1.194 MB / 0.8481 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.01181, allocations: 19.83 kB / 0.8481 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.01182, allocations: 8 kB / 0.8481 GB, free: 4.039 MB / 0.8073 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.0003374/0.01216, allocations: 124.7 kB / 0.8483 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.01218, allocations: 11.98 kB / 0.8483 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.01219, allocations: 13.47 kB / 0.8483 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01219, allocations: 4 kB / 0.8483 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01219, allocations: 0 / 0.8483 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.0122, allocations: 3.938 kB / 0.8483 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.01241, allocations: 259.5 kB / 0.8485 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01241, allocations: 0 / 0.8485 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.01243, allocations: 8 kB / 0.8485 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.424e-05/0.01252, allocations: 28.83 kB / 0.8486 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.01252, allocations: 7.938 kB / 0.8486 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004686/0.01299, allocations: 1.195 MB / 0.8497 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01299, allocations: 0 / 0.8497 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/0.01309, allocations: 171.1 kB / 0.8499 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.01311, allocations: 15.94 kB / 0.8499 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-06/0.01312, allocations: 4 kB / 0.8499 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.01317, allocations: 4 kB / 0.8499 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.01318, allocations: 3.984 kB / 0.8499 GB, free: 2.039 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.01318, allocations: 4 kB / 0.8499 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.01322, allocations: 49.86 kB / 0.85 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01322, allocations: 0 / 0.85 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001676/0.01338, allocations: 59.88 kB / 0.85 GB, free: 1.926 MB / 0.8073 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 7.31e-05/0.01346, allocations: 72.42 kB / 0.8501 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.01364, allocations: 183.4 kB / 0.8503 GB, free: 1.652 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.01365, allocations: 4 kB / 0.8503 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.16e-05/0.01371, allocations: 135.9 kB / 0.8504 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.01388, allocations: 43.14 kB / 0.8505 GB, free: 1.461 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.01442, allocations: 347.2 kB / 0.8508 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.688e-05/0.01447, allocations: 91.95 kB / 0.8509 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.249e-05/0.01451, allocations: 13.48 kB / 0.8509 GB, free: 0.9727 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.01459, allocations: 83.3 kB / 0.851 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.01459, allocations: 0 / 0.851 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of Templates: time 0.00335/0.01794, allocations: 1.789 MB / 0.8527 GB, free: 15.14 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.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: 5.259597304742783]