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.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.002082/0.002082, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.002644/0.002644, allocations: 165.3 kB / 22.45 MB, free: 5.371 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.59/1.59, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 3.156/3.156, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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 1.914e-06/1.914e-06, allocations: 0 / 1 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.781e-05/3.973e-05, allocations: 5.094 kB / 1 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.007063/0.007103, allocations: 3.771 MB / 1.004 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003809/0.01091, allocations: 1.73 MB / 1.005 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.01113, allocations: 11.94 kB / 1.005 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.01269, allocations: 446.1 kB / 1.006 GB, free: 288 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006518/0.01335, allocations: 258.5 kB / 1.006 GB, free: 28 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.01412, allocations: 266.4 kB / 1.006 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000763/0.01489, allocations: 0.5178 MB / 1.007 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007083/0.01559, allocations: 293.2 kB / 1.007 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.01602, allocations: 287.3 kB / 1.007 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.01659, allocations: 215.4 kB / 1.008 GB, free: 14.47 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.01666, allocations: 39.98 kB / 1.008 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.01704, allocations: 171.5 kB / 1.008 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.01723, allocations: 143.5 kB / 1.008 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.01746, allocations: 127.7 kB / 1.008 GB, free: 14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000785/0.01825, allocations: 0.5063 MB / 1.009 GB, free: 13.49 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.01825, allocations: 0 / 1.009 GB, free: 13.49 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.934e-06/0.01826, allocations: 4 kB / 1.009 GB, free: 13.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.01827, allocations: 0 / 1.009 GB, free: 13.48 MB / 0.92 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.001448/0.01971, allocations: 0.5907 MB / 1.009 GB, free: 12.86 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.01977, allocations: 16.02 kB / 1.009 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.02049, allocations: 80.66 kB / 1.009 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.02097, allocations: 249.1 kB / 1.01 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.021, allocations: 21.03 kB / 1.01 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.02105, allocations: 28.36 kB / 1.01 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.02206, allocations: 0.5873 MB / 1.01 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.02208, allocations: 192 / 1.01 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.02212, allocations: 16.12 kB / 1.01 GB, free: 11.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/0.02218, allocations: 36.64 kB / 1.01 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.02298, allocations: 370.2 kB / 1.011 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.02547, allocations: 1.38 MB / 1.012 GB, free: 9.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.02618, allocations: 202.7 kB / 1.012 GB, free: 9.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.02658, allocations: 140.8 kB / 1.012 GB, free: 9.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.02661, allocations: 0 / 1.012 GB, free: 9.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.02665, allocations: 42.5 kB / 1.012 GB, free: 9.559 MB / 0.92 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.02665, allocations: 4 kB / 1.012 GB, free: 9.555 MB / 0.92 GB Notification: Performance of matching and sorting (n=18): time 0.00127/0.02792, allocations: 354 kB / 1.013 GB, free: 9.199 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.02798, allocations: 55.41 kB / 1.013 GB, free: 9.133 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.02827, allocations: 237.8 kB / 1.013 GB, free: 8.898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.02831, allocations: 33.7 kB / 1.013 GB, free: 8.859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.02851, allocations: 216.1 kB / 1.013 GB, free: 8.645 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.02859, allocations: 67.47 kB / 1.013 GB, free: 8.578 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.0287, allocations: 57.94 kB / 1.013 GB, free: 8.512 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.02891, allocations: 330.8 kB / 1.014 GB, free: 8.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.02929, allocations: 101.9 kB / 1.014 GB, free: 8.078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.02968, allocations: 233.3 kB / 1.014 GB, free: 7.793 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.0304, allocations: 319.2 kB / 1.014 GB, free: 7.434 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.03041, allocations: 7.938 kB / 1.014 GB, free: 7.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008738/0.03128, allocations: 368 kB / 1.015 GB, free: 7.059 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.03131, allocations: 8 kB / 1.015 GB, free: 7.051 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.03132, allocations: 4 kB / 1.015 GB, free: 7.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.03164, allocations: 40.83 kB / 1.015 GB, free: 7.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.03192, allocations: 63.89 kB / 1.015 GB, free: 6.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.03366, allocations: 1.331 MB / 1.016 GB, free: 5.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.03392, allocations: 43.81 kB / 1.016 GB, free: 5.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.03395, allocations: 12.16 kB / 1.016 GB, free: 5.457 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004005/0.03435, allocations: 224.6 kB / 1.016 GB, free: 5.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004201/0.03477, allocations: 234 kB / 1.016 GB, free: 4.949 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007288/0.0355, allocations: 311.9 kB / 1.017 GB, free: 4.598 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.572e-06/0.03551, allocations: 3.938 kB / 1.017 GB, free: 4.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008712/0.03638, allocations: 354 kB / 1.017 GB, free: 4.238 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.03639, allocations: 11.94 kB / 1.017 GB, free: 4.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.0364, allocations: 4 kB / 1.017 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.03651, allocations: 28.84 kB / 1.017 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.03678, allocations: 67.89 kB / 1.017 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.03816, allocations: 1.296 MB / 1.018 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.03842, allocations: 31.86 kB / 1.018 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.03844, allocations: 16 kB / 1.019 GB, free: 2.676 MB / 0.92 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.0002585/0.0387, allocations: 204.1 kB / 1.019 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.03876, allocations: 28.02 kB / 1.019 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.03882, allocations: 30.11 kB / 1.019 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.03882, allocations: 0 / 1.019 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.03882, allocations: 0 / 1.019 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.03883, allocations: 0 / 1.019 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.04007, allocations: 0.6042 MB / 1.019 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.04008, allocations: 0 / 1.019 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.04027, allocations: 39.91 kB / 1.019 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.975e-05/0.04037, allocations: 28.84 kB / 1.019 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.04039, allocations: 3.938 kB / 1.019 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.0416, allocations: 1.299 MB / 1.021 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.0416, allocations: 4.031 kB / 1.021 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.04237, allocations: 367.9 kB / 1.021 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.04246, allocations: 39.78 kB / 1.021 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.04249, allocations: 8.094 kB / 1.021 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.04267, allocations: 15.98 kB / 1.021 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.04274, allocations: 15.97 kB / 1.021 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.04276, allocations: 7.938 kB / 1.021 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001768/0.04293, allocations: 165.2 kB / 1.021 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.04293, allocations: 0 / 1.021 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006398/0.04357, allocations: 155.6 kB / 1.021 GB, free: 15.5 MB / 0.9356 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.000156/0.04373, allocations: 101 kB / 1.022 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.04524, allocations: 0.5957 MB / 1.022 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.04524, allocations: 0 / 1.022 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.04565, allocations: 220.7 kB / 1.022 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.04622, allocations: 73.06 kB / 1.022 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.04746, allocations: 0.5384 MB / 1.023 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.04773, allocations: 200.5 kB / 1.023 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.04794, allocations: 66.22 kB / 1.023 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.04801, allocations: 20.5 kB / 1.023 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.04801, allocations: 0 / 1.023 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.009651/0.05766, allocations: 3.717 MB / 1.027 GB, free: 9.953 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.394833087921143]