Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001727/0.001727, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002816/0.002816, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.653/1.653, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.952/2.952, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.286e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005593/0.005626, allocations: 3.181 MB / 0.9845 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.008443, allocations: 1.379 MB / 0.9859 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.008606, allocations: 8 kB / 0.9859 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.009903, allocations: 342.5 kB / 0.9862 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.01032, allocations: 155 kB / 0.9863 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.01078, allocations: 159.2 kB / 0.9865 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.01126, allocations: 342.7 kB / 0.9868 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.01173, allocations: 211.9 kB / 0.987 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.01209, allocations: 195.5 kB / 0.9872 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.01239, allocations: 131.6 kB / 0.9873 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.01244, allocations: 23.94 kB / 0.9874 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.01277, allocations: 159.5 kB / 0.9875 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.0129, allocations: 95.72 kB / 0.9876 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.01303, allocations: 79.83 kB / 0.9877 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.01361, allocations: 374.8 kB / 0.988 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.01362, allocations: 4 kB / 0.988 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01362, allocations: 0 / 0.988 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.01362, allocations: 4 kB / 0.988 GB, free: 4.113 MB / 0.8887 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.001073/0.0147, allocations: 481.4 kB / 0.9885 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.01475, allocations: 11.97 kB / 0.9885 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007482/0.01549, allocations: 92.66 kB / 0.9886 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.01589, allocations: 206.7 kB / 0.9888 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.01591, allocations: 20.88 kB / 0.9888 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.01595, allocations: 16.38 kB / 0.9888 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.0166, allocations: 390.8 kB / 0.9892 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01662, allocations: 4.188 kB / 0.9892 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.01665, allocations: 12.36 kB / 0.9892 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.0167, allocations: 20.42 kB / 0.9892 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.01712, allocations: 213.8 kB / 0.9894 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01862, allocations: 1.008 MB / 0.9904 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.01907, allocations: 118.6 kB / 0.9905 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01917, allocations: 40.84 kB / 0.9906 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.0192, allocations: 7.938 kB / 0.9906 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.01923, allocations: 34.55 kB / 0.9906 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.01923, allocations: 0 / 0.9906 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.0006296/0.01986, allocations: 182.3 kB / 0.9908 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.01991, allocations: 55.41 kB / 0.9908 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.02016, allocations: 205.8 kB / 0.991 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.02018, allocations: 29.7 kB / 0.9911 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.02032, allocations: 180.1 kB / 0.9912 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.02037, allocations: 27.75 kB / 0.9913 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.02044, allocations: 41.66 kB / 0.9913 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.0206, allocations: 322.8 kB / 0.9916 GB, free: 220 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.0207, allocations: 43.97 kB / 0.9917 GB, free: 176 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.02086, allocations: 114.6 kB / 0.9918 GB, free: 32 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.02116, allocations: 176.4 kB / 0.9919 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02116, allocations: 0 / 0.9919 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004024/0.02157, allocations: 210.2 kB / 0.9921 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.02159, allocations: 8 kB / 0.9921 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.02159, allocations: 0 / 0.9921 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.0218, allocations: 32.83 kB / 0.9922 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.02193, allocations: 31.92 kB / 0.9922 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.02329, allocations: 1.307 MB / 0.9935 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.02344, allocations: 23.88 kB / 0.9935 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.02346, allocations: 4 kB / 0.9935 GB, free: 14.1 MB / 0.9044 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.0001706/0.02363, allocations: 145.8 kB / 0.9936 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.02368, allocations: 15.91 kB / 0.9937 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.02372, allocations: 25.39 kB / 0.9937 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.02372, allocations: 4 kB / 0.9937 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.02373, allocations: 4.094 kB / 0.9937 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.02373, allocations: 0 / 0.9937 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.02438, allocations: 410.9 kB / 0.9941 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.02438, allocations: 64 / 0.9941 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.02445, allocations: 15.98 kB / 0.9941 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.668e-05/0.02454, allocations: 24.84 kB / 0.9941 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.02455, allocations: 0 / 0.9941 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.0257, allocations: 1.295 MB / 0.9954 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.02571, allocations: 3.938 kB / 0.9954 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.02605, allocations: 236.2 kB / 0.9956 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.02611, allocations: 19.84 kB / 0.9956 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.02613, allocations: 7.938 kB / 0.9956 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.02626, allocations: 7.984 kB / 0.9956 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.02631, allocations: 12.14 kB / 0.9957 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.02632, allocations: 0 / 0.9957 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001605/0.02648, allocations: 147.3 kB / 0.9958 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02648, allocations: 0 / 0.9958 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003614/0.02684, allocations: 59.84 kB / 0.9959 GB, free: 11.52 MB / 0.9044 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.0001654/0.02701, allocations: 103.2 kB / 0.996 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.02754, allocations: 230.6 kB / 0.9962 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02754, allocations: 0 / 0.9962 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.02781, allocations: 166.6 kB / 0.9963 GB, free: 11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.02822, allocations: 35.55 kB / 0.9964 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.029, allocations: 382.9 kB / 0.9967 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.02918, allocations: 144.2 kB / 0.9969 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.02928, allocations: 25.47 kB / 0.9969 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.02933, allocations: 16.5 kB / 0.9969 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.02933, allocations: 3.938 kB / 0.9969 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.006541/0.03587, allocations: 1.87 MB / 0.9987 GB, free: 8.535 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.91748408973217]