Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.002094/0.002094, allocations: 76.41 kB / 20.23 MB, free: 4.203 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.002569/0.002569, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.823/2.823, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] 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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.169e-05, allocations: 4.25 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005755/0.005787, allocations: 3.184 MB / 0.7895 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.008804, allocations: 1.373 MB / 0.7908 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.009027, allocations: 7.938 kB / 0.7908 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.01021, allocations: 332.7 kB / 0.7911 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.01069, allocations: 163.8 kB / 0.7913 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.0112, allocations: 156.7 kB / 0.7914 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005605/0.01176, allocations: 350.6 kB / 0.7918 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.01223, allocations: 200.9 kB / 0.792 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.01269, allocations: 199.5 kB / 0.7921 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.01304, allocations: 128.3 kB / 0.7923 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.01309, allocations: 20.72 kB / 0.7923 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.01346, allocations: 167.5 kB / 0.7924 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.01359, allocations: 89.39 kB / 0.7925 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.01374, allocations: 83.81 kB / 0.7926 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.0144, allocations: 378.8 kB / 0.793 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01441, allocations: 0 / 0.793 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01441, allocations: 1.344 kB / 0.793 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.01442, allocations: 0 / 0.793 GB, free: 6.059 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00111/0.01553, allocations: 475.1 kB / 0.7934 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.01557, allocations: 8.031 kB / 0.7934 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008562/0.01643, allocations: 133.3 kB / 0.7936 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.01684, allocations: 213.4 kB / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.01686, allocations: 12.88 kB / 0.7938 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.01691, allocations: 24.36 kB / 0.7938 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.01754, allocations: 386.8 kB / 0.7942 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01756, allocations: 4.172 kB / 0.7942 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.01759, allocations: 12.38 kB / 0.7942 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.01763, allocations: 20.95 kB / 0.7942 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.01807, allocations: 210.3 kB / 0.7944 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.01983, allocations: 1.027 MB / 0.7954 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.02027, allocations: 127.7 kB / 0.7955 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.02038, allocations: 44.83 kB / 0.7956 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.0204, allocations: 4.719 kB / 0.7956 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.02043, allocations: 30.56 kB / 0.7956 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.02043, allocations: 4.594 kB / 0.7956 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0006417/0.02107, allocations: 187.7 kB / 0.7958 GB, free: 3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.02112, allocations: 56 kB / 0.7958 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.02139, allocations: 200.4 kB / 0.796 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.02141, allocations: 28.02 kB / 0.7961 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.02159, allocations: 188 kB / 0.7962 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.02162, allocations: 23.8 kB / 0.7963 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.02172, allocations: 41.66 kB / 0.7963 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.02192, allocations: 326.8 kB / 0.7966 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.02204, allocations: 43.97 kB / 0.7967 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.02222, allocations: 111.9 kB / 0.7968 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.02253, allocations: 165.3 kB / 0.7969 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.02254, allocations: 4 kB / 0.7969 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004892/0.02303, allocations: 225 kB / 0.7971 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.02305, allocations: 8 kB / 0.7972 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.02305, allocations: 0.6562 kB / 0.7972 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.02334, allocations: 39.42 kB / 0.7972 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.02349, allocations: 39.98 kB / 0.7972 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.0249, allocations: 1.301 MB / 0.7985 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.02506, allocations: 17.09 kB / 0.7985 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.02508, allocations: 8.047 kB / 0.7985 GB, free: 15.99 MB / 0.7605 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.02525, allocations: 150.6 kB / 0.7987 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.02531, allocations: 23.91 kB / 0.7987 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.02535, allocations: 27.23 kB / 0.7987 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.02535, allocations: 0 / 0.7987 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.02535, allocations: 0 / 0.7987 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.02536, allocations: 0 / 0.7987 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.02604, allocations: 410.2 kB / 0.7991 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.02604, allocations: 0 / 0.7991 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.02611, allocations: 15.98 kB / 0.7991 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.02629, allocations: 36.77 kB / 0.7992 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.0263, allocations: 4 kB / 0.7992 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.02755, allocations: 1.293 MB / 0.8004 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.02756, allocations: 5.031 kB / 0.8004 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.02792, allocations: 236.3 kB / 0.8007 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.02798, allocations: 16.97 kB / 0.8007 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.02801, allocations: 15.92 kB / 0.8007 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.02814, allocations: 4.875 kB / 0.8007 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.02819, allocations: 7.984 kB / 0.8007 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.0282, allocations: 0.5 kB / 0.8007 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001579/0.02835, allocations: 143.2 kB / 0.8008 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02835, allocations: 0.875 kB / 0.8008 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003817/0.02874, allocations: 59.83 kB / 0.8009 GB, free: 13.4 MB / 0.7605 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 (7): * Single equations (assignments): 6 * 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 0.0001319/0.02887, allocations: 96.34 kB / 0.801 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.02936, allocations: 232.4 kB / 0.8012 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02936, allocations: 0.5625 kB / 0.8012 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.02963, allocations: 159.2 kB / 0.8014 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.03002, allocations: 38.81 kB / 0.8014 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.03088, allocations: 385.3 kB / 0.8018 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.03107, allocations: 148.2 kB / 0.8019 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.03118, allocations: 26.08 kB / 0.8019 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.03122, allocations: 16.5 kB / 0.8019 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of SimCode: time 6.82e-07/0.03122, allocations: 0 / 0.8019 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.006537/0.03776, allocations: 1.876 MB / 0.8038 GB, free: 10.43 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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: 8.053176280925982]