Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001488/0.001488, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001746/0.001746, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.348/3.348, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.193e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006671/0.006703, allocations: 3.183 MB / 0.8807 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.009807, allocations: 1.379 MB / 0.882 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.01004, allocations: 7.938 kB / 0.882 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.01136, allocations: 336.7 kB / 0.8824 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000555/0.01192, allocations: 152.8 kB / 0.8825 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.01247, allocations: 163.9 kB / 0.8827 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006375/0.01311, allocations: 350.1 kB / 0.883 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.01363, allocations: 196 kB / 0.8832 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/0.01411, allocations: 203.5 kB / 0.8834 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.01453, allocations: 131.6 kB / 0.8835 GB, free: 440 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.01459, allocations: 20 kB / 0.8835 GB, free: 420 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.01501, allocations: 159.6 kB / 0.8837 GB, free: 260 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.01516, allocations: 91.67 kB / 0.8838 GB, free: 168 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.0153, allocations: 79.83 kB / 0.8838 GB, free: 88 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.01609, allocations: 379.4 kB / 0.8842 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01609, allocations: 0.5938 kB / 0.8842 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.783e-06/0.0161, allocations: 0 / 0.8842 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.01611, allocations: 0.875 kB / 0.8842 GB, free: 15.71 MB / 0.8542 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.001358/0.01746, allocations: 486.2 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.01751, allocations: 13.56 kB / 0.8847 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.01844, allocations: 136.5 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.01887, allocations: 207.2 kB / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.0189, allocations: 12.88 kB / 0.885 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.01894, allocations: 16.38 kB / 0.885 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.0198, allocations: 394.8 kB / 0.8854 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01982, allocations: 192 / 0.8854 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.01985, allocations: 8.375 kB / 0.8854 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/0.0199, allocations: 24.42 kB / 0.8854 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.02039, allocations: 221.7 kB / 0.8856 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.02214, allocations: 1.019 MB / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.02263, allocations: 122.6 kB / 0.8868 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.02274, allocations: 40.83 kB / 0.8868 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.02276, allocations: 3.938 kB / 0.8868 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.0228, allocations: 38.56 kB / 0.8868 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.0228, allocations: 0 / 0.8868 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006556/0.02346, allocations: 178.3 kB / 0.887 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.02351, allocations: 59.41 kB / 0.8871 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.02377, allocations: 196.4 kB / 0.8873 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.0238, allocations: 25.7 kB / 0.8873 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.02396, allocations: 184 kB / 0.8875 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.02399, allocations: 31.73 kB / 0.8875 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.02408, allocations: 41.66 kB / 0.8875 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.02427, allocations: 322.8 kB / 0.8878 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.02439, allocations: 43.97 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.02457, allocations: 115.1 kB / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.02488, allocations: 176.3 kB / 0.8882 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02488, allocations: 0 / 0.8882 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004838/0.02536, allocations: 218.1 kB / 0.8884 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.02539, allocations: 11.94 kB / 0.8884 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.02539, allocations: 3.984 kB / 0.8884 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/0.02569, allocations: 45.11 kB / 0.8884 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.02584, allocations: 31.98 kB / 0.8884 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.02725, allocations: 1.299 MB / 0.8897 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.02741, allocations: 19.89 kB / 0.8897 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.02743, allocations: 7.938 kB / 0.8897 GB, free: 9.625 MB / 0.8542 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.0001737/0.0276, allocations: 153.9 kB / 0.8899 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.02765, allocations: 15.91 kB / 0.8899 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.0277, allocations: 29.38 kB / 0.8899 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.0277, allocations: 0 / 0.8899 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.0277, allocations: 0 / 0.8899 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.0277, allocations: 0 / 0.8899 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.02839, allocations: 411.3 kB / 0.8903 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.0284, allocations: 0 / 0.8903 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.02847, allocations: 11.98 kB / 0.8903 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.02866, allocations: 36.83 kB / 0.8904 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.02867, allocations: 7.938 kB / 0.8904 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.03005, allocations: 1.288 MB / 0.8916 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.03005, allocations: 4.016 kB / 0.8916 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.03045, allocations: 240.2 kB / 0.8919 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.03051, allocations: 19.91 kB / 0.8919 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.03054, allocations: 3.938 kB / 0.8919 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.03067, allocations: 11.98 kB / 0.8919 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.03073, allocations: 7.984 kB / 0.8919 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.03074, allocations: 8 kB / 0.8919 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002846/0.03103, allocations: 144.2 kB / 0.8921 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03103, allocations: 64 / 0.8921 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003811/0.03141, allocations: 67.78 kB / 0.8921 GB, free: 7.016 MB / 0.8542 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.0001401/0.03155, allocations: 99.19 kB / 0.8922 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.03207, allocations: 226.1 kB / 0.8924 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.03207, allocations: 0.5625 kB / 0.8924 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.03233, allocations: 158.6 kB / 0.8926 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.03272, allocations: 27.98 kB / 0.8926 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/0.03357, allocations: 391.9 kB / 0.893 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.03376, allocations: 160.1 kB / 0.8931 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.03389, allocations: 29.45 kB / 0.8932 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.03393, allocations: 16.5 kB / 0.8932 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.03393, allocations: 0 / 0.8932 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of Templates: time 0.006198/0.04013, allocations: 1.862 MB / 0.895 GB, free: 4.039 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.99759937194176]