Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001601, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00559/1.075, allocations: 3.864 MB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002862/1.078, allocations: 1.77 MB / 1.268 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/1.078, allocations: 6.344 kB / 1.268 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/1.079, allocations: 458 kB / 1.268 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006832/1.08, allocations: 241.8 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/1.081, allocations: 249.7 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006797/1.081, allocations: 0.5092 MB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006401/1.082, allocations: 365.3 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/1.082, allocations: 199.3 kB / 1.27 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/1.083, allocations: 242.2 kB / 1.27 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/1.083, allocations: 31.28 kB / 1.27 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/1.083, allocations: 194 kB / 1.27 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/1.084, allocations: 134.4 kB / 1.271 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/1.084, allocations: 187.2 kB / 1.271 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000637/1.084, allocations: 0.4922 MB / 1.271 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.084, allocations: 0 / 1.271 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/1.084, allocations: 0 / 1.271 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.296e-05/1.084, allocations: 0.9688 kB / 1.271 GB, free: 2.688 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00116/1.086, allocations: 0.6668 MB / 1.272 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.086, allocations: 9.531 kB / 1.272 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/1.086, allocations: 90.27 kB / 1.272 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/1.087, allocations: 308.7 kB / 1.272 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/1.087, allocations: 25.5 kB / 1.272 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/1.087, allocations: 34.7 kB / 1.272 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/1.088, allocations: 497.5 kB / 1.273 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/1.088, allocations: 4.844 kB / 1.273 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/1.088, allocations: 12.16 kB / 1.273 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.675e-05/1.088, allocations: 36.3 kB / 1.273 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007773/1.088, allocations: 366.4 kB / 1.273 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/1.09, allocations: 2.051 MB / 1.275 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/1.091, allocations: 217.7 kB / 1.275 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/1.092, allocations: 153.3 kB / 1.276 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/1.092, allocations: 9.969 kB / 1.276 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/1.092, allocations: 32.22 kB / 1.276 GB, free: 15.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/1.092, allocations: 4.844 kB / 1.276 GB, free: 15.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001272/1.093, allocations: 437.5 kB / 1.276 GB, free: 15.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/1.093, allocations: 53.66 kB / 1.276 GB, free: 15.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/1.093, allocations: 257.6 kB / 1.276 GB, free: 15.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/1.093, allocations: 31.17 kB / 1.276 GB, free: 15.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.093, allocations: 214.2 kB / 1.277 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/1.094, allocations: 74.3 kB / 1.277 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.094, allocations: 57.56 kB / 1.277 GB, free: 14.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.094, allocations: 338.8 kB / 1.277 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/1.094, allocations: 100.9 kB / 1.277 GB, free: 14.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/1.095, allocations: 203.1 kB / 1.277 GB, free: 14.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/1.095, allocations: 318.9 kB / 1.278 GB, free: 14.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.095, allocations: 1.656 kB / 1.278 GB, free: 14.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000885/1.096, allocations: 372.2 kB / 1.278 GB, free: 13.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.096, allocations: 9.688 kB / 1.278 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.096, allocations: 4.281 kB / 1.278 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/1.096, allocations: 39.55 kB / 1.278 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/1.097, allocations: 73.81 kB / 1.278 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/1.098, allocations: 1.458 MB / 1.28 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/1.099, allocations: 44.7 kB / 1.28 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/1.099, allocations: 10.53 kB / 1.28 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004107/1.099, allocations: 218.2 kB / 1.28 GB, free: 12.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003497/1.099, allocations: 207.8 kB / 1.28 GB, free: 12.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005999/1.1, allocations: 321.5 kB / 1.28 GB, free: 11.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/1.1, allocations: 0 / 1.28 GB, free: 11.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007697/1.101, allocations: 356.4 kB / 1.281 GB, free: 11.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.101, allocations: 11.47 kB / 1.281 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/1.101, allocations: 3.438 kB / 1.281 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/1.101, allocations: 43.69 kB / 1.281 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/1.101, allocations: 61.84 kB / 1.281 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/1.102, allocations: 1.416 MB / 1.282 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/1.103, allocations: 34.69 kB / 1.282 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/1.103, allocations: 12.62 kB / 1.282 GB, free: 10.29 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/1.103, allocations: 200.7 kB / 1.282 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/1.103, allocations: 36.03 kB / 1.282 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/1.103, allocations: 33.09 kB / 1.282 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.103, allocations: 4.594 kB / 1.282 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.103, allocations: 0 / 1.282 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.103, allocations: 1.172 kB / 1.282 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/1.104, allocations: 0.7447 MB / 1.283 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.104, allocations: 1.406 kB / 1.283 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/1.105, allocations: 37.28 kB / 1.283 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/1.105, allocations: 34.97 kB / 1.283 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.105, allocations: 4.625 kB / 1.283 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/1.106, allocations: 1.426 MB / 1.285 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.435e-05/1.106, allocations: 10.42 kB / 1.285 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/1.107, allocations: 362.5 kB / 1.285 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/1.107, allocations: 120.2 kB / 1.285 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/1.107, allocations: 6.188 kB / 1.285 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.107, allocations: 12.95 kB / 1.285 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/1.107, allocations: 24.83 kB / 1.285 GB, free: 7.719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/1.107, allocations: 4.031 kB / 1.285 GB, free: 7.719 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002158/1.107, allocations: 191.2 kB / 1.285 GB, free: 7.605 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.107, allocations: 0 / 1.285 GB, free: 7.605 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00063/1.108, allocations: 144.5 kB / 1.285 GB, free: 7.574 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/1.108, allocations: 100.9 kB / 1.286 GB, free: 7.484 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001331/1.11, allocations: 0.6071 MB / 1.286 GB, free: 7.152 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.11, allocations: 4.188 kB / 1.286 GB, free: 7.148 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/1.11, allocations: 218.7 kB / 1.286 GB, free: 7.012 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/1.11, allocations: 75.97 kB / 1.286 GB, free: 6.984 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.112, allocations: 0.6003 MB / 1.287 GB, free: 6.602 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/1.112, allocations: 0.7997 MB / 1.288 GB, free: 5.891 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/1.112, allocations: 30 kB / 1.288 GB, free: 5.879 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/1.112, allocations: 0 / 1.288 GB, free: 5.879 MB / 1.014 GB Notification: Performance of Templates: time 0.009725/1.122, allocations: 4.864 MB / 1.293 GB, free: 5.473 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.636114956112579]